summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-03 11:43:08 +0200
committerGitHub <noreply@github.com>2021-06-03 11:43:08 +0200
commit72e965c50a3cd1d70e7fca1421d50eba365eea15 (patch)
treedebf1ce3bf41dd878b1125836079b62075e997e1
parent7d729005f9275524c1a5881a8690de57f47b3b36 (diff)
parent90d27bfe08cd862d48251396ee11db221ec13922 (diff)
downloadMPC-72e965c50a3cd1d70e7fca1421d50eba365eea15.tar.gz
Merge pull request #139 from jwillemsen/jwi-nddsleanandmean
Define WIN32_LEAN_AND_MEAN on Windows with RTI Connext DDS
-rw-r--r--config/nddslib.mpb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/nddslib.mpb b/config/nddslib.mpb
index fb4dcc9a..475b13a7 100644
--- a/config/nddslib.mpb
+++ b/config/nddslib.mpb
@@ -6,7 +6,7 @@ project {
includes += $(NDDSHOME)/include $(NDDSHOME)/include/ndds
specific(prop:windows) {
- macros += RTI_WIN32 NDDS_DLL_VARIABLE
+ macros += RTI_WIN32 NDDS_DLL_VARIABLE WIN32_LEAN_AND_MEAN
}
verbatim(gnuace, circuit) {
@@ -23,7 +23,7 @@ project {
FLAGS_C_CC += -DRTI_LINUX
endif
ifeq ($(ACE_PLATFORM_CONFIG),config-win32.h)
- FLAGS_C_CC += -DRTI_WIN32
+ FLAGS_C_CC += -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN
else
FLAGS_C_CC += -DRTI_UNIX
endif