aboutsummaryrefslogtreecommitdiff
path: root/chinese/cce/files/patch-src__term__term.c
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/cce/files/patch-src__term__term.c')
-rw-r--r--chinese/cce/files/patch-src__term__term.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/chinese/cce/files/patch-src__term__term.c b/chinese/cce/files/patch-src__term__term.c
new file mode 100644
index 000000000000..b4763150c893
--- /dev/null
+++ b/chinese/cce/files/patch-src__term__term.c
@@ -0,0 +1,17 @@
+--- src/term/term.c.orig Mon Jan 19 04:22:51 2004
++++ src/term/term.c Sat Dec 4 11:29:39 2004
+@@ -541,12 +541,14 @@
+ if (!GGIAvail && !UseSDLFirst) SDLAvail = IsSDLAvailable();
+ #endif
+
++#if defined(SUPPORT_GGILIB) || defined(SUPPORT_SDLLIB)
+ if (!GGIAvail && !SDLAvail)
+ {
+ #if !defined(DEBUG)
+ fatal("No GGI/SDL found, you can only run CCE in text console.\n");
+ #endif /* DEBUG */
+ }
++#endif
+ }
+
+ #endif /* __MSDOS__ */