Skip to content

Commit a7f780a

Browse files
committed
commment out broken ifndef
Doesn't work on either the soldier runtime (gcc 8), or sniper (gcc 10)
1 parent bfc27e1 commit a7f780a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/game/shared/schemainitutils.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@
2525
} \
2626
else \
2727
{ \
28-
#ifndef VALVE_PURE \
28+
/* fixme(replaycoding):
29+
* gcc really doesn't like these ifndefs, commenting them until
30+
* i can find a permanent solution */ \
31+
/* #ifndef VALVE_PURE */ \
2932
Warning( "%s\n", msg.String() ); \
3033
/*
3134
todo(maximsmol):
3235
we do not support upstream item schema
3336
*/ \
3437
return false; \
35-
#endif \
38+
/* #endif */ \
3639
pVecErrors->AddToTail( msg ); \
3740
} \
3841
return false; \
@@ -55,4 +58,4 @@
5558
if ( !( expr ) ) \
5659
return false;
5760

58-
#endif // SCHEMAINITUTILS_H
61+
#endif // SCHEMAINITUTILS_H

0 commit comments

Comments
 (0)