forked from epics_driver_modules/motorBase
Added strtok_r for WIN32
This commit is contained in:
@@ -34,6 +34,9 @@ Newport_SRCS += asynOctetSocket.cpp
|
||||
Newport_SRCS += XPS_C8_drivers.cpp drvXPSAsyn.c drvXPSAsynAux.c XPSAsynInterpose.c xps_ftp.c
|
||||
Newport_SRCS += XPS_trajectoryScan.st
|
||||
|
||||
# strtok_r needed on WIN32
|
||||
Newport_SRCS_WIN32 += strtok_r.cpp
|
||||
|
||||
# XPS Gathering test function
|
||||
Newport_SRCS += XPSGathering.c
|
||||
Newport_SRCS += XPSGatheringRegister.c
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#else
|
||||
#define DLL
|
||||
#endif
|
||||
#include "strtok_r.h"
|
||||
#else
|
||||
#define DLL
|
||||
#endif
|
||||
@@ -3846,7 +3847,7 @@ int __stdcall PositionerCorrectorPIDFFAccelerationGet (int SocketIndex, char * P
|
||||
{
|
||||
int ret = -1;
|
||||
char ExecuteMethod[SIZE_EXECUTE_METHOD];
|
||||
int temp;
|
||||
int temp;
|
||||
char *ReturnedValue = (char *) malloc (sizeof(char) * SIZE_SMALL);
|
||||
|
||||
/* Convert to string */
|
||||
|
||||
Reference in New Issue
Block a user