diff options
Diffstat (limited to 'toxcore/ccompat.h')
-rw-r--r-- | toxcore/ccompat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/ccompat.h b/toxcore/ccompat.h index 05212ec5..dfbfe3eb 100644 --- a/toxcore/ccompat.h +++ b/toxcore/ccompat.h | |||
@@ -45,4 +45,8 @@ | |||
45 | 45 | ||
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | #ifndef __cplusplus | ||
49 | #define nullptr NULL | ||
50 | #endif | ||
51 | |||
48 | #endif /* CCOMPAT_H */ | 52 | #endif /* CCOMPAT_H */ |