Browse Source

Fix the build on non-Windows platforms

Neal Wilson 11 years ago
parent
commit
538038cfd8
2 changed files with 2 additions and 2 deletions
  1. 2
    0
      src/dataqsdk.w
  2. 0
    2
      src/typica.w

+ 2
- 0
src/dataqsdk.w View File

116
 @<Header files to include@>=
116
 @<Header files to include@>=
117
 #ifdef Q_OS_WIN32
117
 #ifdef Q_OS_WIN32
118
 #include <windef.h>
118
 #include <windef.h>
119
+#else
120
+#define PASCAL
119
 #endif
121
 #endif
120
 
122
 
121
 @ |DataqSdkDeviceImplementation| maintains information about the device and the
123
 @ |DataqSdkDeviceImplementation| maintains information about the device and the

+ 0
- 2
src/typica.w View File

771
 @<NodeInserter implementation@>@/
771
 @<NodeInserter implementation@>@/
772
 @<Measurement implementation@>@/
772
 @<Measurement implementation@>@/
773
 @<DAQ Implementation@>@/
773
 @<DAQ Implementation@>@/
774
-#ifdef Q_OS_WIN32
775
 @<DataqSdkDevice implementation@>@/
774
 @<DataqSdkDevice implementation@>@/
776
-#endif
777
 @<FakeDAQ Implementation@>@/
775
 @<FakeDAQ Implementation@>@/
778
 @<Channel Implementation@>@/
776
 @<Channel Implementation@>@/
779
 @<TemperatureDisplay Implementation@>@/
777
 @<TemperatureDisplay Implementation@>@/

Loading…
Cancel
Save