Skip to content

Commit fe0993c

Browse files
Another build fix...
Signed-off-by: David Rebbe <drebbe@intrepidcs.com>
1 parent b2d79be commit fe0993c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/methods.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "methods.h"
22
#include "exceptions.h"
33
#include "dll.h"
4+
#include "defines.h"
45
#ifndef USING_STUDIO_8
56
#define USING_STUDIO_8 1
67
#endif
@@ -3941,7 +3942,7 @@ PyObject* meth_get_device_status(PyObject* self, PyObject* args)
39413942
Py_END_ALLOW_THREADS
39423943
fire2_device_status_object* f2s = (fire2_device_status_object*)ds->fire2_status;
39433944
memcpy(&f2s->s, &ds->s, sizeof(f2s->s));
3944-
#ifdef (VSPY3_BUILD_VERSION > 802)
3945+
#if (VSPY3_BUILD_VERSION > 802)
39453946
vcan4_device_status_object* v4s = (vcan4_device_status_object*)ds->vcan4_status;
39463947
memcpy(&v4s->s, &ds->s, sizeof(v4s->s));
39473948
#endif

0 commit comments

Comments
 (0)