source:
pacpussensors/trunk/CanGateway/CanGatewayConfig.h@
145
Last change on this file since 145 was 1, checked in by , 11 years ago | |
---|---|
File size: 446 bytes |
Line | |
---|---|
1 | #ifndef CANGATEWAYCONFIG_H |
2 | #define CANGATEWAYCONFIG_H |
3 | |
4 | // Export macro for CanGateway DLL for Windows only |
5 | #ifdef WIN32 |
6 | # ifdef CANGATEWAY_EXPORTS |
7 | // make DLL |
8 | # define CANGATEWAY_API __declspec(dllexport) |
9 | # else |
10 | // use DLL |
11 | # define CANGATEWAY_API __declspec(dllimport) |
12 | # endif |
13 | #else |
14 | // On other platforms, simply ignore this |
15 | # define CANGATEWAY_API |
16 | #endif |
17 | |
18 | #endif // CANGATEWAYCONFIG_H |
Note:
See TracBrowser
for help on using the repository browser.