Skip to content

Commit

Permalink
Safety guard: compiler error if __JDOOM__ not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 21, 2004
1 parent b205dcf commit f6191dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/Include/jDoom/r_defs.h
Expand Up @@ -22,6 +22,10 @@
#ifndef __R_DEFS__
#define __R_DEFS__

#ifndef __JDOOM__
# error "Using jDoom headers without __JDOOM__"
#endif

// Screenwidth.
#include "doomdef.h"

Expand Down

0 comments on commit f6191dc

Please sign in to comment.