.github
CMakeModules
dist
externals
FidelityFX-FSR
SDL
Vulkan-Headers
cmake-modules
cpp-httplib
cubeb
discord-rpc
dynarmic
ffmpeg
find-modules
getopt
glad
inih
libressl
crypto
include
compat
arpa
machine
netinet
sys
_null.h
ioctl.h
mman.h
param.h
queue.h
select.h
socket.h
stat.h
time.h
tree.h
types.h
uio.h
dirent.h
dirent_msvc.h
err.h
fcntl.h
limits.h
netdb.h
poll.h
pthread.h
readpassphrase.h
resolv.h
stdio.h
stdlib.h
string.h
syslog.h
time.h
unistd.h
win32netcompat.h
openssl
CMakeLists.txt
pqueue.h
tls.h
ssl
tls
.gitignore
CMakeLists.txt
COPYING
ChangeLog
FindLibreSSL.cmake
INSTALL
README.md
README.windows
VERSION
cmake_export_symbol.cmake
ltmain.sh
tap-driver.sh
test-driver
libusb
mbedtls
microprofile
opus
sirit
soundtouch
xbyak
CMakeLists.txt
patches
src
CMakeLists.txt
LICENSE
README.md
license.txt
19 lines
333 B
C++
Executable File
19 lines
333 B
C++
Executable File
/* $OpenBSD: _null.h,v 1.2 2016/09/09 22:07:58 millert Exp $ */
|
|
|
|
/*
|
|
* Written by Todd C. Miller, September 9, 2016
|
|
* Public domain.
|
|
*/
|
|
|
|
#ifndef NULL
|
|
#if !defined(__cplusplus)
|
|
#define NULL ((void *)0)
|
|
#elif __cplusplus >= 201103L
|
|
#define NULL nullptr
|
|
#elif defined(__GNUG__)
|
|
#define NULL __null
|
|
#else
|
|
#define NULL 0L
|
|
#endif
|
|
#endif
|