Просмотр исходного кода

Fix the build on non-Windows platforms

Neal Wilson 13 лет назад
Родитель
Сommit
538038cfd8
2 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    0
      src/dataqsdk.w
  2. 0
    2
      src/typica.w

+ 2
- 0
src/dataqsdk.w Просмотреть файл

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 Просмотреть файл

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@>@/

Загрузка…
Отмена
Сохранить