gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r9909: htons...


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9909: htons...
Date: Fri, 03 Oct 2008 12:21:33 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9909
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Fri 2008-10-03 12:21:33 +0200
message:
  htons...
modified:
  libcore/asobj/NetConnection.cpp
    ------------------------------------------------------------
    revno: 9906.1.2
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Fri 2008-10-03 12:17:12 +0200
    message:
      There's no arpa/inet.h on windows. This needs fixing properly, but for now
      getting win32 to build is the priority.
    modified:
      libcore/asobj/NetConnection.cpp
=== modified file 'libcore/asobj/NetConnection.cpp'
--- a/libcore/asobj/NetConnection.cpp   2008-09-26 09:42:24 +0000
+++ b/libcore/asobj/NetConnection.cpp   2008-10-03 10:17:12 +0000
@@ -25,7 +25,13 @@
 #include <iostream>
 #include <string>
 #include <boost/scoped_ptr.hpp>
+
+// FIXME: Get rid of this crap.
+#if defined(HAVE_WINSOCK_H) && !defined(__OS2__)
+# include <winsock.h>
+#else
 #include <arpa/inet.h> // for htons
+#endif
 
 #include "NetConnection.h"
 #include "log.h"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]