Commit cd1dcdb2 authored by Mihai Moldovan's avatar Mihai Moldovan

nx-X11/programs/Xserver/include/os.h: backport xallocarray().

parent d189cb42
......@@ -80,6 +80,8 @@ typedef struct _NewClientRec *NewClientPtr;
#define xstrdup(s) Xstrdup(s)
#define xnfstrdup(s) XNFstrdup(s)
#define xallocarray(num, size) reallocarray(NULL, (num), (size))
#endif
#ifdef __SCO__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment