changes for windows in Makefile and require.c

This commit is contained in:
2024-07-09 17:41:35 +02:00
parent 41801b38cb
commit 64ed937dd4
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -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
+1
View File
@@ -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>