Skip to content
Snippets Groups Projects
Select Git revision
  • 90e4ea15ffaac89643678278c5e3ac57a8eeae9e
  • master default protected
  • develop protected
  • feat_remove_attr
  • python2.7
  • python3.8
6 results

xces.cpp

Blame
  • cmake-config.h.in 4.55 KiB
    #ifndef POLIQARP_CONFIG_H_INCLUDED
    #define POLIQARP_CONFIG_H_INCLUDED
    /* config.h.in.  Generated from configure.ac by autoheader.  */
    
    #cmakedefine HAVE_MALLOC_H
    
    /* Define to 1 if your compiler supports `extern inline'. */
    #cmakedefine HAVE_EXTERN_INLINE 1
    
    /* Define if you have the gettext and ngettext functions in <libintl.h>. */
    #cmakedefine HAVE_GETTEXT
    
    /* Define to 1 if you have the <inttypes.h> header file. */
    #cmakedefine HAVE_INTTYPES_H 1
    
    /* Define to 1 if you have the `expat' library (-lexpat). */
    #cmakedefine HAVE_LIBEXPAT 1
    
    /* Define to 1 if you have the <locale.h> header file. */
    #cmakedefine HAVE_LOCALE_H 1
    
    /* Define to 1 if you have the <memory.h> header file. */
    #cmakedefine HAVE_MEMORY_H 1
    
    /* Define to 1 if you have the <netinet/in.h> header file. */
    #cmakedefine HAVE_NETINET_IN_H 1
    
    /* Define to 1 if you have the `nftw' function. */
    #cmakedefine HAVE_NFTW 1
    
    /* Define if you have POSIX threads libraries and header files. */
    #cmakedefine HAVE_PTHREAD
    
    /* Define to 1 if you have the `snprintf' function. */
    #cmakedefine HAVE_SNPRINTF 1
    
    /* Define to 1 if the system has the type `socklen_t'. */
    #cmakedefine HAVE_SOCKLEN_T
    
    /* Define to 1 if the system has the type `ssize_t'. */
    #cmakedefine HAVE_SSIZE_T 1
    
    /* Define to 1 if stdbool.h conforms to C99. */
    #cmakedefine HAVE_STDBOOL_H 1
    
    /* Define to 1 if you have the <stdint.h> header file. */
    #cmakedefine HAVE_STDINT_H 1
    
    /* Define to 1 if you have the <stdlib.h> header file. */
    #cmakedefine HAVE_STDLIB_H 1
    
    /* Define to 1 if you have the <strings.h> header file. */
    #cmakedefine HAVE_STRINGS_H 1
    
    /* Define to 1 if you have the <string.h> header file. */
    #cmakedefine HAVE_STRING_H 1
    
    /* Define to 1 if you have the <sys/socket.h> header file. */
    #cmakedefine HAVE_SYS_SOCKET_H 1
    
    /* Define to 1 if you have the <sys/stat.h> header file. */
    #cmakedefine HAVE_SYS_STAT_H 1
    
    /* Define to 1 if you have the <sys/types.h> header file. */
    #cmakedefine HAVE_SYS_TYPES_H 1
    
    /* Define to 1 if you have the <unistd.h> header file. */
    #cmakedefine HAVE_UNISTD_H 1
    
    /* Define to 1 if the system has the type `_Bool'. */
    #cmakedefine HAVE__BOOL 1
    
    /* Define to 1 if you have the `_snprintf' function. */
    #cmakedefine HAVE__SNPRINTF 1
    
    /* Define to the address where bug reports for this package should be sent. */
    #cmakedefine PACKAGE_BUGREPORT
    
    /* Define to the full name of this package. */
    #cmakedefine PACKAGE_NAME
    
    /* Define to the full name and version of this package. */
    #cmakedefine PACKAGE_STRING
    
    /* Define to the one symbol short name of this package. */
    #cmakedefine PACKAGE_TARNAME
    
    /* Define to the version of this package. */
    #cmakedefine PACKAGE_VERSION
    
    /* Define to necessary symbol if this constant uses a non-standard name on
       your system. */
    #cmakedefine PTHREAD_CREATE_JOINABLE
    
    /* Define to 1 if you have the ANSI C header files. */
    #cmakedefine STDC_HEADERS 1
    
    /* Define to 1 if you want/need to use the included TCL regular expressions
       library. */
    #undef USE_TCL_REGEX
    
    /* Define to 1 if your processor stores words with the most significant byte
       first (like Motorola and SPARC, unlike Intel and VAX). */
    #undef WORDS_BIGENDIAN 
    
    /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
       `char[]'. */
    #cmakedefine YYTEXT_POINTER 1
    
    /* Define to empty if `const' does not conform to ANSI C. */
    #cmakedefine const
    
    /* Define to `__inline__' or `__inline' if that's what the C compiler
       calls it, or to nothing if 'inline' is not supported under any name.  */
    #ifndef __cplusplus
    #undef inline
    #endif
    
    typedef char * PCHAR;
    #ifdef _MSC_VER
    	#define WIN32_LEAN_AND_MEAN     /* Exclude rarely-used stuff from Windows headers */
    	#include <windows.h>
    	#include <direct.h>
    	#include <io.h>
    	#include <tchar.h>
    
    	/* Library signature: */
    	#ifdef POLI_EXPORTS
    	#define POLI_API __declspec(dllexport)
    	#else
    	#ifdef POLI_STATIC
    	#define POLI_API  
    	#else
    	#define POLI_API  __declspec(dllimport)
    	#endif
    	#endif
    
    	#pragma warning( disable: 4290 ) /* warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)	*/
    	#pragma warning( disable: 4996 ) /* c code "unsafe" :/ */
    
    	#pragma warning(disable:4251) /* "need to have dll interface" for stl  // TODO */
    
    
    
    #else
    	#define POLI_API
    #endif
    
    #define PRIuSIZE "zu"
    #define off64_t int64_t
    #define LOCALEDIR "@CMAKE_INSTALL_PREFIX@/share/locale"
    
    #define PACKAGE_BUGREPORT "http://poliqarp.sf.net/bugs/"
    #define PACKAGE_NAME "Poliqarp"
    #define PACKAGE_STRING "Poliqarp 1.3.11"
    #define PACKAGE_TARNAME "poliqarp"
    #define PACKAGE_URL ""
    #define PACKAGE_VERSION "1.3.11"
    
    #endif /* POLIQARP_CONFIG_H_INCLUDED */
    
    #include <sakura/commondef.h>