From d09ab089457ae3c20cc98f9afa03379c6ebf9598 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 25 Mar 2004 06:59:32 +0000 Subject: [svn-inject] Installing original source version --- macos/src/XMLTestPrefix.h | 1 + macos/src/XMLTestPrefix2.h | 1 + macos/src/config-mac.h | 201 ++++++++++++++++++++++++++++++++++++++++ macos/src/libxml2_GUSIConfig.cp | 1 + macos/src/macos_main.c | 1 + 5 files changed, 205 insertions(+) create mode 100644 macos/src/XMLTestPrefix.h create mode 100644 macos/src/XMLTestPrefix2.h create mode 100644 macos/src/config-mac.h create mode 100644 macos/src/libxml2_GUSIConfig.cp create mode 100644 macos/src/macos_main.c (limited to 'macos/src') diff --git a/macos/src/XMLTestPrefix.h b/macos/src/XMLTestPrefix.h new file mode 100644 index 0000000..3e84255 --- /dev/null +++ b/macos/src/XMLTestPrefix.h @@ -0,0 +1 @@ +int test_main(int argc, char **argv); #define main(X,Y) test_main(X,Y) \ No newline at end of file diff --git a/macos/src/XMLTestPrefix2.h b/macos/src/XMLTestPrefix2.h new file mode 100644 index 0000000..55df51e --- /dev/null +++ b/macos/src/XMLTestPrefix2.h @@ -0,0 +1 @@ +int test_main(int argc, char* argv[]); #define main() test_main(int argc, char* argv[]) \ No newline at end of file diff --git a/macos/src/config-mac.h b/macos/src/config-mac.h new file mode 100644 index 0000000..7317aef --- /dev/null +++ b/macos/src/config-mac.h @@ -0,0 +1,201 @@ +/* config.h generated manually for macos. */ + +/* Define if you have the strftime function. */ +#define HAVE_STRFTIME + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS + +#define PACKAGE +#define VERSION + +#undef HAVE_LIBZ +#undef HAVE_LIBM +#undef HAVE_ISINF +#undef HAVE_ISNAN +#undef HAVE_LIBHISTORY +#undef HAVE_LIBREADLINE + +#define SOCKLEN_T socklen_t +#define HAVE_LIBPTHREAD +#define HAVE_PTHREAD_H +#define LIBXML_THREAD_ENABLED + +/* Define if you have the _stat function. */ +#define HAVE__STAT + +/* Define if you have the class function. */ +#undef HAVE_CLASS + +/* Define if you have the finite function. */ +#undef HAVE_FINITE + +/* Define if you have the fp_class function. */ +#undef HAVE_FP_CLASS + +/* Define if you have the fpclass function. */ +#undef HAVE_FPCLASS + +/* Define if you have the fprintf function. */ +#define HAVE_FPRINTF + +/* Define if you have the isnand function. */ +#undef HAVE_ISNAND + +/* Define if you have the localtime function. */ +#define HAVE_LOCALTIME + +/* Define if you have the printf function. */ +#define HAVE_PRINTF + +/* Define if you have the signal function. */ +#define HAVE_SIGNAL + +/* Define if you have the snprintf function. */ +#define HAVE_SNPRINTF + +/* Define if you have the sprintf function. */ +#define HAVE_SPRINTF + +/* Define if you have the sscanf function. */ +#define HAVE_SSCANF + +/* Define if you have the stat function. */ +#define HAVE_STAT + +/* Define if you have the strdup function. */ +#define HAVE_STRDUP + +/* Define if you have the strerror function. */ +#define HAVE_STRERROR + +/* Define if you have the strftime function. */ +#define HAVE_STRFTIME + +/* Define if you have the strndup function. */ +#define HAVE_STRNDUP + +/* Define if you have the vfprintf function. */ +#define HAVE_VFPRINTF + +/* Define if you have the vsnprintf function. */ +#define HAVE_VSNPRINTF + +/* Define if you have the vsprintf function. */ +#define HAVE_VSPRINTF + +/* Define if you have the header file. */ +#define HAVE_ANSIDECL_H + +/* Define if you have the header file. */ +#define HAVE_ARPA_INET_H + +/* Define if you have the header file. */ +#define HAVE_CTYPE_H + +/* Define if you have the header file. */ +#define HAVE_DIRENT_H + +/* Define if you have the header file. */ +#define HAVE_DLFCN_H + +/* Define if you have the header file. */ +#define HAVE_ERRNO_H + +/* Define if you have the header file. */ +#define HAVE_FCNTL_H + +/* Define if you have the header file. */ +#define HAVE_FLOAT_H + +/* Define if you have the header file. */ +#define HAVE_FP_CLASS_H + +/* Define if you have the header file. */ +#define HAVE_IEEEFP_H + +/* Define if you have the header file. */ +#undef HAVE_MALLOC_H + +/* Define if you have the header file. */ +#define HAVE_MATH_H + +/* Define if you have the header file. */ +#define HAVE_NAN_H + +/* Define if you have the header file. */ +#define HAVE_NDIR_H + +/* Define if you have the header file. */ +#define HAVE_NETDB_H + +/* Define if you have the header file. */ +#define HAVE_NETINET_IN_H + +/* Define if you have the header file. */ +#define HAVE_SIGNAL_H + +/* Define if you have the header file. */ +#define HAVE_STDARG_H + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H + +/* Define if you have the header file. */ +#define HAVE_STRING_H + +/* Define if you have the header file. */ +#define HAVE_SYS_DIR_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_MMAN_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_NDIR_H + +/* Define if you have the header file. */ +#define HAVE_SYS_SELECT_H + +/* Define if you have the header file. */ +#define HAVE_SYS_SOCKET_H + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H + +/* Define if you have the header file. */ +#define HAVE_TIME_H + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H + +/* Define if you have the header file. */ +#undef HAVE_ZLIB_H + +/* Define if you have the inet library (-linet). */ +#undef HAVE_LIBINET + +/* Define if you have the nsl library (-lnsl). */ +#undef HAVE_LIBNSL + +/* Define if you have the socket library (-lsocket). */ +#undef HAVE_LIBSOCKET + +/* Name of package */ +#define PACKAGE + +/* Version number of package */ +#define VERSION + +/* Define if compiler has function prototypes */ +#define PROTOTYPES + +#include +#include +#include +#include diff --git a/macos/src/libxml2_GUSIConfig.cp b/macos/src/libxml2_GUSIConfig.cp new file mode 100644 index 0000000..77d0c93 --- /dev/null +++ b/macos/src/libxml2_GUSIConfig.cp @@ -0,0 +1 @@ +/**************** BEGIN GUSI CONFIGURATION **************************** * * GUSI Configuration section generated by GUSI Configurator * last modified: Wed Oct 31 17:07:45 2001 * * This section will be overwritten by the next run of Configurator. */ #define GUSI_SOURCE #include #include /* Declarations of Socket Factories */ __BEGIN_DECLS void GUSIwithInetSockets(); void GUSIwithLocalSockets(); void GUSIwithMTInetSockets(); void GUSIwithMTTcpSockets(); void GUSIwithMTUdpSockets(); void GUSIwithOTInetSockets(); void GUSIwithOTTcpSockets(); void GUSIwithOTUdpSockets(); void GUSIwithPPCSockets(); void GUSISetupFactories(); __END_DECLS /* Configure Socket Factories */ void GUSISetupFactories() { #ifdef GUSISetupFactories_BeginHook GUSISetupFactories_BeginHook #endif GUSIwithInetSockets(); #ifdef GUSISetupFactories_EndHook GUSISetupFactories_EndHook #endif } /* Declarations of File Devices */ __BEGIN_DECLS void GUSIwithNullSockets(); void GUSISetupDevices(); __END_DECLS /* Configure File Devices */ void GUSISetupDevices() { #ifdef GUSISetupDevices_BeginHook GUSISetupDevices_BeginHook #endif GUSIwithNullSockets(); #ifdef GUSISetupDevices_EndHook GUSISetupDevices_EndHook #endif } #ifndef __cplusplus #error GUSISetupConfig() needs to be written in C++ #endif GUSIConfiguration::FileSuffix sSuffices[] = { "", '????', '????' }; extern "C" void GUSISetupConfig() { GUSIConfiguration * config = GUSIConfiguration::CreateInstance(GUSIConfiguration::kNoResource); config->ConfigureDefaultTypeCreator('TEXT', 'CWIE'); config->ConfigureSuffices( sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices); } /**************** END GUSI CONFIGURATION *************************/ \ No newline at end of file diff --git a/macos/src/macos_main.c b/macos/src/macos_main.c new file mode 100644 index 0000000..2625000 --- /dev/null +++ b/macos/src/macos_main.c @@ -0,0 +1 @@ +#include #include #undef main DECLARE_MAIN(test) REGISTER_MAIN_START REGISTER_MAIN(test) REGISTER_MAIN_END int main() { (void) exec_commands(); return 0; } \ No newline at end of file -- cgit v1.2.3