mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
19 lines
384 B
Diff
19 lines
384 B
Diff
--- src/fallthrough.h.orig
|
|||
|
|
+++ src/fallthrough.h
|
||
|
|
@@ -8,14 +8,6 @@
|
||
|
|
#ifndef _FALLTHROUGH_H
|
||
|
|
#define _FALLTHROUGH_H
|
||
|
|
|
||
|
|
-#if defined(__GNUC__)
|
||
|
|
-#if __has_attribute(fallthrough)
|
||
|
|
-#define FALLTHROUGH __attribute__((fallthrough));
|
||
|
|
-#endif
|
||
|
|
-#endif /* __GNUC__ */
|
||
|
|
-
|
||
|
|
-#ifndef FALLTHROUGH
|
||
|
|
#define FALLTHROUGH /* FALLTHROUGH */
|
||
|
|
-#endif
|
||
|
|
|
||
|
|
-#endif /* !_FALLTHROUGH_H */
|
||
|
|
+#endif /* _FALLTHROUGH_H */
|