Quellcode durchsuchen

Fix the build on non-Windows platforms

Neal Wilson vor 11 Jahren
Ursprung
Commit
538038cfd8
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    0
      src/dataqsdk.w
  2. 0
    2
      src/typica.w

+ 2
- 0
src/dataqsdk.w Datei anzeigen

@@ -116,6 +116,8 @@ unimportant details so long as the resulting program works.
116 116
 @<Header files to include@>=
117 117
 #ifdef Q_OS_WIN32
118 118
 #include <windef.h>
119
+#else
120
+#define PASCAL
119 121
 #endif
120 122
 
121 123
 @ |DataqSdkDeviceImplementation| maintains information about the device and the

+ 0
- 2
src/typica.w Datei anzeigen

@@ -771,9 +771,7 @@ generated file empty.
771 771
 @<NodeInserter implementation@>@/
772 772
 @<Measurement implementation@>@/
773 773
 @<DAQ Implementation@>@/
774
-#ifdef Q_OS_WIN32
775 774
 @<DataqSdkDevice implementation@>@/
776
-#endif
777 775
 @<FakeDAQ Implementation@>@/
778 776
 @<Channel Implementation@>@/
779 777
 @<TemperatureDisplay Implementation@>@/

Laden…
Abbrechen
Speichern