Add #ifndef so file is only included once.

This commit is contained in:
Marcus Sundberg 2000-01-06 02:29:09 +00:00
parent 581e31b505
commit b28fa0a244
2 changed files with 10 additions and 0 deletions

View file

@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// quakedef.h -- primary header for client
#ifndef _QW_COMMON_QUAKEDEF_H
#define _QW_COMMON_QUAKEDEF_H
#include <common_quakedef.h>
#include "bothdefs.h"
@ -27,3 +30,5 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern cvar_t password;
qboolean Host_SimulationTime(float time);
#endif /* _QW_COMMON_QUAKEDEF_H */

View file

@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// quakedef.h -- primary header for client
#ifndef _UQUAKE_QUAKEDEF_H
#define _UQUAKE_QUAKEDEF_H
#define GAMENAME "id1" // directory to look in by default
#if defined(_WIN32) && !defined(WINDED)
@ -211,3 +214,5 @@ extern cvar_t cl_chasecam;
void Chase_Init (void);
void Chase_Reset (void);
void Chase_Update (void);
#endif /* _UQUAKE_QUAKEDEF_H */