summaryrefslogtreecommitdiff
path: root/chinese/cce/files/patch-src__term__term.c
blob: b4763150c8933e5a8b3d727ddc8cddf78fc433ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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__ */