mirror of
https://github.com/debauchee/barrier.git
synced 2026-12-01 00:05:10 +08:00
fixed: code was not gnuc 4.2 compatible
This commit is contained in:
@@ -155,4 +155,7 @@ enum {
|
||||
kExitConfig = 4 // cannot read configuration
|
||||
};
|
||||
|
||||
// gnu 4.6+ has pragma diagnostic push and tautological-compare
|
||||
#define GNUC_46 defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user