]> granicus.if.org Git - nethack/commitdiff
ifdef, not if
authorPasi Kallinen <paxed@alt.org>
Fri, 23 Nov 2018 13:15:04 +0000 (15:15 +0200)
committerPasi Kallinen <paxed@alt.org>
Fri, 23 Nov 2018 13:15:04 +0000 (15:15 +0200)
include/rm.h

index d24c4e5673100bf7d9eb8bf0dd83b2dcc09d9332..b6cf36d54e494dab4220ee7a3b7a084806ecdc2d 100644 (file)
@@ -630,7 +630,7 @@ extern dlevel_t level; /* structure describing the current level */
 #define MON_BURIED_AT(x, y)                     \
     (level.monsters[x][y] != (struct monst *) 0 \
      && (level.monsters[x][y])->mburied)
-#if EXTRA_SANITY_CHECKS
+#ifdef EXTRA_SANITY_CHECKS
 #define place_worm_seg(m, x, y) do { \
     if (level.monsters[x][y] && level.monsters[x][y] != m) impossible("place_worm_seg over mon"); \
     level.monsters[x][y] = m; \