summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-02 10:46:12 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-06-02 10:46:12 +0200
commit90d27bfe08cd862d48251396ee11db221ec13922 (patch)
tree016d351138e03f34aeb6441b0b5eb53094c120e2 /config
parent26e630509df6d5f17a769c4774d57c5ba551d0ee (diff)
downloadMPC-90d27bfe08cd862d48251396ee11db221ec13922.tar.gz
Define WIN32_LEAN_AND_MEAN on Windows
* config/nddslib.mpb:
Diffstat (limited to 'config')
-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