[Ohrrpgce] SVN: teeemcee/8475 Use __FB_UNIX__ instead of __UNIX__ and (new) __GNU_LINUX__ instead of _

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Mar 1 02:20:59 PST 2017


teeemcee
2017-03-01 02:20:59 -0800 (Wed, 01 Mar 2017)
440
Use __FB_UNIX__ instead of __UNIX__ and (new) __GNU_LINUX__ instead of __FB_LINUX__

Did you know that we do
 #ifdef __FB_UNIX__
  #define __FB_LINUX__
 #endif
due to problems with FB's headers? I'd forgotten about that.
For that reason, NEVER use __FB_LINUX__, use the new __GNU_LINUX__
macro instead.

Because of this "running on linux" would have returned true on all
Unixes.

Removed __UNIX__, which was a workaround for old FB versions
---
U   wip/allmodex.bas
U   wip/common.rbas
U   wip/config.bi
U   wip/customsubs.rbas
U   wip/distribmenu.bas
U   wip/game.bas
U   wip/gfx_sdl.bas
U   wip/mapsubs.bas
U   wip/miditest.bas
U   wip/music_sdl.bas
U   wip/os_unix2.bas
U   wip/savegame.rbas
U   wip/scriptcommands.bas
U   wip/util.bas
U   wip/whatsnew.txt


More information about the Ohrrpgce mailing list