]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Move #includes to stdafx.h.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 28 Oct 2014 16:37:17 +0000 (16:37 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 28 Oct 2014 16:37:17 +0000 (16:37 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
misc/build_helpers/windows/installer/installer/installer.cpp
misc/build_helpers/windows/installer/installer/stdafx.h

index a22df4865f88cc9b21f1c3a4bbff2502d480ae63..2e653bd7509af6253cb53b9fec58beb64c80e04c 100644 (file)
@@ -2,21 +2,6 @@
 //
 
 #include "stdafx.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <io.h>
-#include <fcntl.h>
-#include <process.h>
-
-// Turn off the warnings nagging you to use the more complicated *_s
-// "secure" functions that are actually more difficult to use securely.
-#pragma warning(disable:4996)
-
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#include <wtypes.h>
-#include <objbase.h>
-#include <shldisp.h>
 
 int wmain(int argc, wchar_t *argv[]);
 wchar_t * get_default_destination_dir();
index b005a839def24829d348825ce6303a5538707527..7963cd778f535c636078f94eac17f0b4db05a887 100644 (file)
@@ -8,8 +8,18 @@
 #include "targetver.h"
 
 #include <stdio.h>
-#include <tchar.h>
+#include <wchar.h>
+#include <stdlib.h>
+#include <io.h>
+#include <fcntl.h>
+#include <process.h>
 
+// Turn off the warnings nagging you to use the more complicated *_s
+// "secure" functions that are actually more difficult to use securely.
+#pragma warning(disable:4996)
 
-
-// TODO: reference additional headers your program requires here
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#include <wtypes.h>
+#include <objbase.h>
+#include <shldisp.h>