diff options
author | Mihai Moldovan <ïonic@ionic.de> | 2016-08-17 04:34:50 +0000 |
---|---|---|
committer | Mihai Moldovan <ïonic@ionic.de> | 2017-03-03 11:20:19 +0000 |
commit | d189cb422b1aa14deaa490a4079ae51ab08ef641 (patch) | |
tree | d32de4f4590192a6a074cf7622084128f46d557d /nx-X11/config/cf/X11.tmpl | |
parent | 1a7fc41c2c011c05c3dc0cd8eb4ade98a2186217 (diff) | |
download | nx-libs-d189cb422b1aa14deaa490a4079ae51ab08ef641.tar.gz nx-libs-d189cb422b1aa14deaa490a4079ae51ab08ef641.tar.bz2 nx-libs-d189cb422b1aa14deaa490a4079ae51ab08ef641.zip |
nx-X11/{config/cf/{{Imake,X11}.tmpl,linux.cf},programs/Xserver/{include/os.h,os/{Imakefile,reallocarray.c}}: backport reallocarray() implementation.
Diffstat (limited to 'nx-X11/config/cf/X11.tmpl')
-rw-r--r-- | nx-X11/config/cf/X11.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nx-X11/config/cf/X11.tmpl b/nx-X11/config/cf/X11.tmpl index d5527cdc7..ddd6e0bad 100644 --- a/nx-X11/config/cf/X11.tmpl +++ b/nx-X11/config/cf/X11.tmpl @@ -707,8 +707,15 @@ FCHOWN_DEFINES = -DHAS_FCHOWN #define ServerSnprintfDefines /**/ #endif #endif +#ifndef ServerReallocarrayDefines +#if HasReallocarray +#define ServerReallocarrayDefines -DHAVE_REALLOCARRAY +#else +#define ServerReallocarrayDefines /**/ +#endif +#endif #ifndef ServerDefines -#define ServerDefines StandardDefines PervasiveExtensionDefines ServerExtraDefines ServerAssertDefines ServerSnprintfDefines +#define ServerDefines StandardDefines PervasiveExtensionDefines ServerExtraDefines ServerAssertDefines ServerSnprintfDefines ServerReallocarrayDefines #endif #ifndef MesaUseX86Asm |