diff options
author | rpj <rpj> | 2005-04-01 00:55:20 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-04-01 00:55:20 +0000 |
commit | f63f8cd4f69317850dd5e8d6302acf3fbf849332 (patch) | |
tree | 6b4f380a003b5cd5f9759e2143c456bcf0c78709 /sched.h | |
parent | e01f06b3309760ffde46829bbee2c7234fd521c3 (diff) |
''
Diffstat (limited to 'sched.h')
-rw-r--r-- | sched.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -76,10 +76,14 @@ * do NOT define PTW32_BUILD, and then the variables/functions will * be imported correctly. */ -#ifdef PTW32_BUILD -# define PTW32_DLLPORT __declspec (dllexport) +#ifndef PTW32_STATIC_LIB +# ifdef PTW32_BUILD +# define PTW32_DLLPORT __declspec (dllexport) +# else +# define PTW32_DLLPORT __declspec (dllimport) +# endif #else -# define PTW32_DLLPORT __declspec (dllimport) +# define PTW32_DLLPORT #endif /* |