diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-12 19:13:56 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-12 19:13:56 -0400 |
commit | c486885ecda309759144ebad16ec4afd566e0bee (patch) | |
tree | 505e86e0afc8341ccbceff8713e2a00fd56c6311 /fnmatch.h | |
parent | 5638ea3056acb6c3c3eb10f0525f7a4b15dbcb2b (diff) |
prevent prepocessor comparisons against empty tokens
Diffstat (limited to 'fnmatch.h')
-rw-r--r-- | fnmatch.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -27,6 +27,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#if defined _XOPEN_SOURCE && _XOPEN_SOURCE - 1 < 0 +#undef _XOPEN_SOURCE +#define _XOPEN_SOURCE 400 +#endif + #if defined _XOPEN_SOURCE && !defined _POSIX_C_SOURCE # if (_XOPEN_SOURCE >= 700) # define _POSIX_C_SOURCE 200809L |