aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authoreihrul <eihrul>2004-11-23 16:23:36 +0000
committereihrul <eihrul>2004-11-23 16:23:36 +0000
commitd0764152e4dbeaef56c60389257258f557a73947 (patch)
tree04c42f94893e8abb75d1215b178047ee06df9eeb /include
parent8b475848f12c984f86f52d0993ec3ab8a986e9d6 (diff)
downloadenet-d0764152e4dbeaef56c60389257258f557a73947.tar.gz
enet-d0764152e4dbeaef56c60389257258f557a73947.zip
win32 bug fixes
Diffstat (limited to 'include')
-rw-r--r--include/enet/win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/enet/win32.h b/include/enet/win32.h
index c2b4ba8..ae231c2 100644
--- a/include/enet/win32.h
+++ b/include/enet/win32.h
@@ -35,6 +35,8 @@ typedef struct
#else
#define ENET_API __declspec( dllimport )
#endif /* ENET_BUILDING_LIB */
+#else /* !ENET_DLL */
+#define ENET_API extern
#endif /* ENET_DLL */
#endif /* __ENET_WIN32_H__ */