Don't use declspec(dllexport) on Windows; reduce SIZE_BUFFER for Windows stack overflow

This commit is contained in:
MarkRivers
2006-04-20 19:30:34 +00:00
parent cb8a078e09
commit 071b5255ce
+4 -2
View File
@@ -9,7 +9,8 @@
#include <string.h>
#include "Socket.h"
#ifdef _WIN32
#define DLL _declspec(dllexport)
/* #define DLL _declspec(dllexport) */
#define DLL
#else
#define DLL
#endif
@@ -17,7 +18,8 @@
#define SIZE_BUFFER 32768
/* #define SIZE_BUFFER 32768 */
#define SIZE_BUFFER 1024
#define SIZE_NAME 100