fix for mingw warning about order of header files
This commit is contained in:
@ -19,6 +19,12 @@
|
||||
|
||||
#define EPICS_ATOMIC_OS_NAME "WIN32"
|
||||
|
||||
#ifdef WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_LEAN_AND_MEAN_DETECTED_epicsAtomicOSD_h
|
||||
#else
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#ifdef VC_EXTRALEAN
|
||||
# define VC_EXTRALEAN_DETECTED_epicsAtomicOSD_h
|
||||
#else
|
||||
@ -33,6 +39,10 @@
|
||||
|
||||
#include "windows.h"
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN_DETECTED_epicsAtomicOSD_h
|
||||
# undef WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#ifndef VC_EXTRALEAN_DETECTED_epicsAtomicOSD_h
|
||||
# undef VC_EXTRALEAN
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user