diff -ru --exclude=CVS gnokii-cvs/include/gnokii.h gnokii-devel/include/gnokii.h --- gnokii-cvs/include/gnokii.h 2003-11-30 19:55:13.000000000 +0100 +++ gnokii-devel/include/gnokii.h 2004-01-17 23:53:33.000000000 +0100 @@ -50,7 +50,11 @@ #include #ifndef API -# define API +# ifdef GNOKIIDLL_IMPORTS +# define API __declspec(dllimport) +# else +# define API +# endif #endif struct gn_statemachine;