gmime r1538 - in trunk: . gmime
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1538 - in trunk: . gmime
- Date: Thu, 2 Apr 2009 02:59:10 +0000 (UTC)
Author: fejj
Date: Thu Apr 2 02:59:10 2009
New Revision: 1538
URL: http://svn.gnome.org/viewvc/gmime?rev=1538&view=rev
Log:
2009-04-01 Jeffrey Stedfast <fejj novell com>
* gmime/gmime-utils.c: #include <process.h> for getpid() and ws2tcpip.h
for getaddrinfo() on Windows platforms.
Modified:
trunk/ChangeLog
trunk/gmime.vcproj
trunk/gmime/gmime-utils.c
Modified: trunk/gmime.vcproj
==============================================================================
--- trunk/gmime.vcproj (original)
+++ trunk/gmime.vcproj Thu Apr 2 02:59:10 2009
@@ -39,7 +39,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="/D "ssize_t"="gssize" /D "GMIME_MAJOR_VERSION"="2" /D "GMIME_MINOR_VERSION"="4" /D "GMIME_MICRO_VERSION"="5" /D "ICONV_CONST"="" /D "HAVE_TIMEZONE""
+ AdditionalOptions="/D "ssize_t"="gssize" /D "GMIME_MAJOR_VERSION"="2" /D "GMIME_MINOR_VERSION"="4" /D "GMIME_MICRO_VERSION"="5" /D "ICONV_CONST"="" /D "HAVE_GMTIME_S" /D "HAVE_WS2TCPIP_H" /D "HAVE_GETADDRINFO""
Optimization="0"
AdditionalIncludeDirectories=""."; "util""
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GMIME_EXPORTS;"
@@ -48,7 +48,7 @@
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
- Detect64BitPortabilityProblems="true"
+ Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
/>
<Tool
@@ -62,7 +62,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="libiconv.lib glib-2.0.lib gobject-2.0.lib zdll.lib"
+ AdditionalDependencies="ws2_32.lib libiconv.lib glib-2.0.lib gobject-2.0.lib zdll.lib"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
Modified: trunk/gmime/gmime-utils.c
==============================================================================
--- trunk/gmime/gmime-utils.c (original)
+++ trunk/gmime/gmime-utils.c Thu Apr 2 02:59:10 2009
@@ -42,8 +42,11 @@
#else
#include <process.h> /* Windows header for getpid() */
#endif
+#ifdef HAVE_WS2TCPIP_H
+#include <ws2tcpip.h> /* Windows header for getaddrinfo() */
+#endif
#ifdef HAVE_NETDB_H
-#include <netdb.h>
+#include <netdb.h> /* Unix header for getaddrinfo() */
#endif
#include <ctype.h>
#include <errno.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]