Who's your daddy?!?!? More tweaks. NSPR now cross-compiles from i386-linux to i386-mingw32. unlabeled-1.1.2
authorcls%seawood.org
Fri, 09 Jul 1999 12:05:49 +0000
branchunlabeled-1.1.2
changeset 694 bde3bee7a5eed1819615f5c976da55c22fed93dc
parent 682 48e88c557335744802d992c684a228acb04d6071
child 699 068dd307b90fd6266788a5dab515518e2c42abfd
push idunknown
push userunknown
push dateunknown
Who's your daddy?!?!? More tweaks. NSPR now cross-compiles from i386-linux to i386-mingw32.
configure.in
--- a/configure.in
+++ b/configure.in
@@ -183,22 +183,22 @@ alpha-*-linux*)
 
 *-mingw*)
     DEFINES="$DEFINES -DXP_PC"
     PR_MD_ASFILES=
     PR_MD_ARCH_DIR=windows
 
     case "$MOZ_TARGET" in
     winnt)
-	DEFINES="$DEFINES -DWIN32 -DWINNT"
+	DEFINES="$DEFINES -DWIN32 -DWINNT -DWin32_Winsock"
 	MDCPUCFG_H=_winnt.cfg
 	PR_MD_CSRCS="ntmisc.c ntsem.c ntinrval.c ntgc.c ntio.c ntthread.c ntdllmn.c win32_errors.c w32poll.c"
 	;;
     win95)
-	DEFINES="$DEFINES -UWINNT -DWIN32 -DWIN95 -D_PR_GLOBAL_THREADS_ONLY"
+	DEFINES="$DEFINES -UWINNT -DWIN32 -DWIN95 -DWin32_Winsock -D_PR_GLOBAL_THREADS_ONLY"
 	MDCPUCFG_H=_win95.cfg
 	PR_MD_CSRCS="ntmisc.c ntsem.c ntinrval.c ntgc.c w95thred.c w95io.c w95cv.c w95sock.c win32_errors.c w32poll.c w95dllmain.c"
 	;;
     win16)
 	DEFINES="$DEFINES -UWINNT"
 	MDCPUCFG_H=_win16.cfg
 	PR_MD_CSRCS="w16null.c w16thred.c w16proc.c w16fmem.c w16sock.c w16mem.c w16io.c w16gc.c w16error.c w16stdio.c w16callb.c ntinrval.c"
 	;;