summaryrefslogtreecommitdiff
path: root/src/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal.h b/src/internal.h
index 2f5aa8f..1c24a56 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -40,7 +40,7 @@
#define MAXLNLEN 1024 /* max length for usual line */
#define HXMC_IDENT 0x200571AF
-#if !defined(__cplusplus)
+#if !defined(__cplusplus) && __STDC_VERSION__ < 202300L
# define nullptr NULL
#endif