summaryrefslogtreecommitdiff
path: root/src/config_win.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/config_win.h.in')
-rw-r--r--src/config_win.h.in65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/config_win.h.in b/src/config_win.h.in
new file mode 100644
index 0000000..3001f1f
--- /dev/null
+++ b/src/config_win.h.in
@@ -0,0 +1,65 @@
+/* This file contains some compile-time configuration options for MS Windows
+ * systems when building using build.sh (MinGW, Cygwin).
+ * config_win.h is generated from src/config_win.h.in by build.sh
+ * For building using MSVC, you'll have to edit src/config_vc6.h manually
+ * if you want anything else than the defaults.
+ * For *nix systems, config_unix.h is used, which is generated by build.sh
+ * from src/config_unix.h.in.
+ */
+
+#ifndef CONFIG_WIN_H_
+#define CONFIG_WIN_H_
+
+/* Directory where the UQM game data is located */
+#define CONTENTDIR "../content/"
+
+/* Directory where game data will be stored */
+//#define USERDIR "../userdata/"
+#define USERDIR "%APPDATA%/uqm/"
+
+/* Directory where config files will be stored */
+#define CONFIGDIR USERDIR
+
+/* Directory where supermelee teams will be stored */
+#define MELEEDIR "%UQM_CONFIG_DIR%/teams/"
+
+/* Directory where save games will be stored */
+#define SAVEDIR "%UQM_CONFIG_DIR%/save/"
+
+/* Defined if words are stored with the most significant byte first */
+@WORDS_BIGENDIAN@
+
+/* Defined if your system has readdir_r of its own */
+@HAVE_READDIR_R@
+
+/* Defined if your system has setenv of its own */
+@HAVE_SETENV@
+
+/* Defined if your system has strupr of its own */
+@HAVE_STRUPR@
+
+/* Defined if your system has strcasecmp of its own */
+@HAVE_STRCASECMP_UQM@
+ // Not using "HAVE_STRCASECMP" as that conflicts with SDL.
+
+/* Defined if your system has stricmp of its own */
+@HAVE_STRICMP@
+
+/* Defined if your system has getopt_long */
+@HAVE_GETOPT_LONG@
+
+/* Defined if your system has iswgraph of its own*/
+@HAVE_ISWGRAPH@
+
+/* Defined if your system has wchar_t of its own */
+@HAVE_WCHAR_T@
+
+/* Defined if your system has wint_t of its own */
+@HAVE_WINT_T@
+
+/* Defined if your system has _Bool of its own */
+@HAVE__BOOL@
+
+#endif /* CONFIG_WIN_H_ */
+
+