forked from epics_driver_modules/motorBase
Don't use declspec(dllexport) on Windows; reduce SIZE_BUFFER for Windows stack overflow
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user