mirror of
https://git.zap.org.au/git/trader.git
synced 2024-11-03 17:27:29 -05:00
Rename header #define to conform to relevant C language standards
Although widely used, macro definitions starting with "__" (amongst others) are reserved by the C programming language standard for the compiler and standard header files to use in any way desired.
This commit is contained in:
parent
305be1e852
commit
c9cf917763
13
src/trader.h
13
src/trader.h
@ -9,12 +9,7 @@
|
||||
Author: John Zaitseff <J.Zaitseff@zap.org.au>
|
||||
$Id$
|
||||
|
||||
Star Traders is a simple game of interstellar trading, where the object
|
||||
of the game is to create companies, buy and sell shares, borrow and
|
||||
repay money, in order to become the wealthiest player (the winner).
|
||||
|
||||
This file, trader.h, contains default game values and certain other
|
||||
definitions for Star Traders.
|
||||
This file, trader.h, contains various definitions for Star Traders.
|
||||
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
@ -32,8 +27,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __TRADER_H__
|
||||
#define __TRADER_H__
|
||||
#ifndef included_TRADER_H
|
||||
#define included_TRADER_H
|
||||
|
||||
|
||||
#endif /* __TRADER_H__ */
|
||||
#endif /* included_TRADER_H */
|
||||
|
Loading…
Reference in New Issue
Block a user