summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/makeinc.mak5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/makeinc.mak b/src/makeinc.mak
index 7a719967..75fd53e3 100644
--- a/src/makeinc.mak
+++ b/src/makeinc.mak
@@ -1,5 +1,6 @@
 #uncomment this to have an x64 build
 #X64 = YES
+#PORTABLE = YES
 #OPENSSL = YES
 IPV6 = YES
 
@@ -49,6 +50,10 @@ PYTHONOUTPUT = xcpython.dll
 TCLLIB = tcl86
 TCLOUTPUT = xctcl.dll
 
+!ifdef PORTABLE
+CFLAGS = $(CFLAGS) -DPORTABLE_BUILD
+!endif
+
 !ifdef IPV6
 CFLAGS = $(CFLAGS) -DUSE_IPV6
 LIBS = $(LIBS) ws2_32.lib