summaryrefslogtreecommitdiff
path: root/toxcore/ccompat.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-28 21:30:39 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-30 23:35:50 +0000
commit92ffad1a72bc8c422426d52ac408bd71242dd047 (patch)
treef592f353068dd2043525dd2cc04d6124a4ed4bc4 /toxcore/ccompat.h
parent623e9ac331df7323660e21c8a2226523a5ee713b (diff)
Use nullptr as NULL pointer constant instead of NULL or 0.
This changes only code, no string literals or comments.
Diffstat (limited to 'toxcore/ccompat.h')
-rw-r--r--toxcore/ccompat.h4
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 */