diff options
Diffstat (limited to 'libxml2-2.9.10/macos/src')
-rw-r--r-- | libxml2-2.9.10/macos/src/XMLTestPrefix.h | 1 | ||||
-rw-r--r-- | libxml2-2.9.10/macos/src/XMLTestPrefix2.h | 1 | ||||
-rw-r--r-- | libxml2-2.9.10/macos/src/config-mac.h | 150 | ||||
-rw-r--r-- | libxml2-2.9.10/macos/src/libxml2_GUSIConfig.cp | 1 | ||||
-rw-r--r-- | libxml2-2.9.10/macos/src/macos_main.c | 1 |
5 files changed, 154 insertions, 0 deletions
diff --git a/libxml2-2.9.10/macos/src/XMLTestPrefix.h b/libxml2-2.9.10/macos/src/XMLTestPrefix.h new file mode 100644 index 0000000..3e84255 --- /dev/null +++ b/libxml2-2.9.10/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/libxml2-2.9.10/macos/src/XMLTestPrefix2.h b/libxml2-2.9.10/macos/src/XMLTestPrefix2.h new file mode 100644 index 0000000..55df51e --- /dev/null +++ b/libxml2-2.9.10/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/libxml2-2.9.10/macos/src/config-mac.h b/libxml2-2.9.10/macos/src/config-mac.h new file mode 100644 index 0000000..ca6f993 --- /dev/null +++ b/libxml2-2.9.10/macos/src/config-mac.h @@ -0,0 +1,150 @@ +/* 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 XML_SOCKLEN_T socklen_t +#define HAVE_LIBPTHREAD +#define HAVE_PTHREAD_H +#define LIBXML_THREAD_ENABLED + +/* Define if you have the fprintf function. */ +#define HAVE_FPRINTF + +/* 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 strftime function. */ +#define HAVE_STRFTIME + +/* 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 <arpa/inet.h> header file. */ +#define HAVE_ARPA_INET_H + +/* Define if you have the <ctype.h> header file. */ +#define HAVE_CTYPE_H + +/* Define if you have the <dirent.h> header file. */ +#define HAVE_DIRENT_H + +/* Define if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H + +/* Define if you have the <errno.h> header file. */ +#define HAVE_ERRNO_H + +/* Define if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H + +/* Define if you have the <float.h> header file. */ +#define HAVE_FLOAT_H + +/* Define if you have the <malloc.h> header file. */ +#undef HAVE_MALLOC_H + +/* Define if you have the <math.h> header file. */ +#define HAVE_MATH_H + +/* Define if you have the <ndir.h> header file. */ +#define HAVE_NDIR_H + +/* Define if you have the <netdb.h> header file. */ +#define HAVE_NETDB_H + +/* Define if you have the <netinet/in.h> header file. */ +#define HAVE_NETINET_IN_H + +/* Define if you have the <signal.h> header file. */ +#define HAVE_SIGNAL_H + +/* Define if you have the <stdarg.h> header file. */ +#define HAVE_STDARG_H + +/* Define if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H + +/* Define if you have the <string.h> header file. */ +#define HAVE_STRING_H + +/* Define if you have the <sys/dir.h> header file. */ +#define HAVE_SYS_DIR_H + +/* Define if you have the <sys/mman.h> header file. */ +#undef HAVE_SYS_MMAN_H + +/* Define if you have the <sys/ndir.h> header file. */ +#undef HAVE_SYS_NDIR_H + +/* Define if you have the <sys/select.h> header file. */ +#define HAVE_SYS_SELECT_H + +/* Define if you have the <sys/socket.h> header file. */ +#define HAVE_SYS_SOCKET_H + +/* Define if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H + +/* Define if you have the <sys/time.h> header file. */ +#define HAVE_SYS_TIME_H + +/* Define if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H + +/* Define if you have the <time.h> header file. */ +#define HAVE_TIME_H + +/* Define if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H + +/* Name of package */ +#define PACKAGE + +/* Version number of package */ +#define VERSION + +/* Define if compiler has function prototypes */ +#define PROTOTYPES + +#include <libxml/xmlversion.h> +#include <sys/types.h> +#include <extra/stricmp.h> +#include <extra/strdup.h> diff --git a/libxml2-2.9.10/macos/src/libxml2_GUSIConfig.cp b/libxml2-2.9.10/macos/src/libxml2_GUSIConfig.cp new file mode 100644 index 0000000..77d0c93 --- /dev/null +++ b/libxml2-2.9.10/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 <GUSIConfig.h>
#include <sys/cdefs.h>
/* 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/libxml2-2.9.10/macos/src/macos_main.c b/libxml2-2.9.10/macos/src/macos_main.c new file mode 100644 index 0000000..2625000 --- /dev/null +++ b/libxml2-2.9.10/macos/src/macos_main.c @@ -0,0 +1 @@ +#include <GUSICommandLine.h>
#include <stdlib.h>
#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 |