mirror of
https://github.com/nodejs/node.git
synced 2024-11-28 22:46:31 +01:00
39 lines
942 B
C
39 lines
942 B
C
|
/* Edited to match src/node.h. */
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
|
||
|
typedef intptr_t ssize_t;
|
||
|
# define _SSIZE_T_
|
||
|
# define _SSIZE_T_DEFINED
|
||
|
#endif
|
||
|
#else // !_WIN32
|
||
|
# include <sys/types.h> // size_t, ssize_t
|
||
|
#endif // _WIN32
|
||
|
|
||
|
#ifdef _MSC_VER
|
||
|
# include <intrin.h>
|
||
|
# define __builtin_popcount __popcnt
|
||
|
#endif
|
||
|
|
||
|
/* Define to 1 to enable debug output. */
|
||
|
/* #undef DEBUGBUILD */
|
||
|
|
||
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
||
|
/* #undef HAVE_ARPA_INET_H */
|
||
|
|
||
|
/* Define to 1 if you have the <stddef.h> header file. */
|
||
|
#define HAVE_STDDEF_H 1
|
||
|
|
||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||
|
#define HAVE_STDINT_H 1
|
||
|
|
||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||
|
#define HAVE_STDLIB_H 1
|
||
|
|
||
|
/* Define to 1 if you have the <string.h> header file. */
|
||
|
#define HAVE_STRING_H 1
|
||
|
|
||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||
|
/* #undef HAVE_UNISTD_H */
|