[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] testing for USE_GTK
From: |
Henrik Ravn |
Subject: |
[Bug-gnubg] testing for USE_GTK |
Date: |
Fri, 23 May 2003 13:34:27 +0200 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there!
In trying to setup a windows build of the commandline version of GNU, I ran
into this:
The correct test for USE_GTK is
#if USE_GTK
/* ... code here ... */
#endif
But a few places (notably in play.c) this is used:
#ifdef USE_GTK
/* ... code here .. */
#endif
which results in the code being included even if USE_GTK is #defined to 0
be well
- -h-
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0
iQA/AwUBPs4HQq0NW/dr/OP5EQJv4wCeKhjsprOf3Y5EzdLGbebhzvJI3CwAoNcp
ffoqvyYeApXKbszc3kAgUXdA
=NNTG
-----END PGP SIGNATURE-----
- [Bug-gnubg] testing for USE_GTK,
Henrik Ravn <=