Define WIN32_LEAN_AND_MEAN for Windows
This commit is contained in:
parent
c02468fd69
commit
c1dbf14f8f
2 changed files with 4 additions and 1 deletions
|
@ -10,6 +10,8 @@ AC_DEFUN([MY_WINDOWS_API],
|
|||
AC_MSG_RESULT([$Windows_API])
|
||||
if test $Windows_API = yes; then
|
||||
AC_DEFINE([WINDOWS], 1, [Define if compiling for Windows API])
|
||||
AC_DEFINE([WIN32_LEAN_AND_MEAN], 1,
|
||||
[Define to make Windows includes pull in less junk])
|
||||
LIBS_SOCKETS="-lws2_32"
|
||||
else
|
||||
LIBS_SOCKETS=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue