summaryrefslogtreecommitdiff
path: root/posix/glob.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/glob.h')
-rw-r--r--posix/glob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/glob.h b/posix/glob.h
index 5a8e48c196..91d95494e7 100644
--- a/posix/glob.h
+++ b/posix/glob.h
@@ -25,6 +25,7 @@ extern "C" {
#undef __ptr_t
#if defined __cplusplus || (defined __STDC__ && __STDC__) || defined WINDOWS32
# undef __P
+# undef __PMT
# define __P(protos) protos
# define __PMT(protos) protos
# define __ptr_t void *
@@ -34,6 +35,7 @@ extern "C" {
# endif
#else /* Not C++ or ANSI C. */
# undef __P
+# undef __PMT
# define __P(protos) ()
# define __PMT(protos) ()
# undef __const