forked from epics_driver_modules/require
changes for windows in Makefile and require.c
This commit is contained in:
@@ -30,8 +30,7 @@ USR_INCLUDES_Linux=-idirafter ${EPICS_BASE}/include
|
||||
# Pass T_A to the code
|
||||
USR_CFLAGS += -DT_A='"${T_A}"'
|
||||
|
||||
# This should really go into some global WIN32 config file
|
||||
USR_CFLAGS_WIN32 += /D_WIN32_WINNT=0x501
|
||||
USR_CFLAGS += -DEPICSVERSION='"${EPICSVERSION}"'
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
|
||||
@@ -262,6 +262,7 @@ int requireDebug;
|
||||
#define END_DIR_LOOP while(FindNextFile(dir,&direntry)); FindClose(dir);
|
||||
#define SKIP_NON_DIR(e) if (!(e.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) || (e.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN)) continue;
|
||||
#define FILENAME(e) e.cFileName
|
||||
#pragma comment(lib, "kernel32.lib")
|
||||
|
||||
#else
|
||||
#include <dirent.h>
|
||||
|
||||
Reference in New Issue
Block a user