← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2424: fix build error on linux/mingw due to /bin/sh seeing unescaped (; if this breaks other platforms,...

 

------------------------------------------------------------
revno: 2424
committer: cologic <ne5@xxxxxxxxxxx>
branch nick: dcplusplus
timestamp: Fri 2011-02-18 04:50:50 -0500
message:
  fix build error on linux/mingw due to /bin/sh seeing unescaped (; if this breaks other platforms, let this serve as notice not to simply revert but to make sure it actually works under Linux too
modified:
  natpmp/SConscript


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'natpmp/SConscript'
--- natpmp/SConscript	2011-02-11 23:07:59 +0000
+++ natpmp/SConscript	2011-02-18 09:50:50 +0000
@@ -3,7 +3,7 @@
 env, target, sources = dev.prepare_build(source_path, 'natpmp', source_glob = '*.c', in_bin = False)
 
 if dev.is_win32():
-	env.Append(CPPDEFINES = ['errno=WSAGetLastError()', 'STATICLIB', 'WIN32', '_WIN32_WINNT=0x501', '_WIN32_IE=0x501', 'WINVER=0x501', 'WIN32_LEAN_AND_MEAN'])
+	env.Append(CPPDEFINES = ['errno="WSAGetLastError()"', 'STATICLIB', 'WIN32', '_WIN32_WINNT=0x501', '_WIN32_IE=0x501', 'WINVER=0x501', 'WIN32_LEAN_AND_MEAN'])
 
 ret = env.StaticLibrary(target, sources)