[asterisk-scf-commits] asterisk-scf/release/pjproject.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Jan 7 16:10:18 UTC 2011
branch "master" has been updated
via 875f29e7faf0a0824da018a0eae18cad3226dffc (commit)
from bfd266734358d3440846754a8ce5ebb5449ef51d (commit)
Summary of changes:
pjlib/src/pj/ip_helper_win32.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 875f29e7faf0a0824da018a0eae18cad3226dffc
Author: Joshua Colp <jcolp at digium.com>
Date: Fri Jan 7 12:10:09 2011 -0400
Add a workaround for some Windows API versions that incorrectly use the wrong definition.
diff --git a/pjlib/src/pj/ip_helper_win32.c b/pjlib/src/pj/ip_helper_win32.c
index f9044eb..38f64d2 100644
--- a/pjlib/src/pj/ip_helper_win32.c
+++ b/pjlib/src/pj/ip_helper_win32.c
@@ -30,6 +30,11 @@
#endif
#include <winsock2.h>
+/* This is a workaround for some versions of the Windows APIs where NTDDI_XP
+ * is utilized when NTDDI_WINXP should be.
+ */
+#define NTDDI_XP NTDDI_WINXP
+
/* If you encounter error "Cannot open include file: 'Iphlpapi.h' here,
* you need to install newer Platform SDK. Presumably you're using
* Microsoft Visual Studio 6?
-----------------------------------------------------------------------
--
asterisk-scf/release/pjproject.git
More information about the asterisk-scf-commits
mailing list