]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | diff --git a/cgicc/CgiDefs.h.in b/cgicc/CgiDefs.h.in |
2 | index 71b70ad..3793cd8 100644 | |
3 | --- a/cgicc/CgiDefs.h.in | |
4 | +++ b/cgicc/CgiDefs.h.in | |
5 | @@ -47,7 +47,9 @@ | |
6 | #ifdef WIN32 | |
7 | ||
8 | // export library symbols | |
9 | -# ifdef CGICC_EXPORTS | |
10 | +# ifdef CGICC_STATIC | |
11 | +# define CGICC_API | |
12 | +# elif defined(CGICC_EXPORTS) | |
13 | # define CGICC_API __declspec(dllexport) | |
14 | # else | |
15 | # define CGICC_API __declspec(dllimport) |