From 33c9220c0a1c7fa4f26cfc8a123794fff5e49f00 Mon Sep 17 00:00:00 2001 From: msweet Date: Tue, 15 Jul 2014 19:57:59 +0000 Subject: Get builds working on Windows again. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12031 a1ca3aef-8c08-0410-bb20-df032aa958be --- vcnet/config.h | 1 + vcnet/libcups2.vcproj | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'vcnet') diff --git a/vcnet/config.h b/vcnet/config.h index 5e4d75a60..a951f5485 100644 --- a/vcnet/config.h +++ b/vcnet/config.h @@ -57,6 +57,7 @@ * Map the POSIX sleep() and usleep() functions to the Win32 Sleep() function... */ +typedef unsigned long useconds_t; #define sleep(X) Sleep(1000 * (X)) #define usleep(X) Sleep((X)/1000) diff --git a/vcnet/libcups2.vcproj b/vcnet/libcups2.vcproj index 2580eb21a..d2f0e4fac 100644 --- a/vcnet/libcups2.vcproj +++ b/vcnet/libcups2.vcproj @@ -1040,6 +1040,10 @@ /> + + @@ -1316,10 +1320,6 @@ /> - - @@ -1396,6 +1396,10 @@ RelativePath="..\cups\thread.c" > + + @@ -1598,10 +1602,6 @@ RelativePath="..\cups\pwg-private.h" > - - -- cgit v1.2.3