| | 18 | |
| | 19 | === revision 2 (scottmc) === |
| | 20 | |
| | 21 | There's a few beos cases that may or may not need to be addressed. |
| | 22 | These two files have numerous beos refs, but might be autogenerated? |
| | 23 | {{{ |
| | 24 | expat-2.0.1/conftools/libtool.m4 |
| | 25 | expat-2.0.1/conftools/ltmain.sh |
| | 26 | }}} |
| | 27 | These three files need to be looked at more closely before closing this one out[[BR]] |
| | 28 | (from running grep -nri -C10 'beos' expat-2.0.1): |
| | 29 | {{{ |
| | 30 | expat-2.0.1/doc/reference.html-241-are already using the "cdecl" calling convention, or they wouldn't be |
| | 31 | expat-2.0.1/doc/reference.html-242-working). The annotation is only needed if the default calling |
| | 32 | expat-2.0.1/doc/reference.html-243-convention may be something other than "cdecl". To use the annotation |
| | 33 | expat-2.0.1/doc/reference.html-244-safely with older versions of Expat, you can conditionally define it |
| | 34 | expat-2.0.1/doc/reference.html-245-<em>after</em> including Expat's header file:</p> |
| | 35 | expat-2.0.1/doc/reference.html-246- |
| | 36 | expat-2.0.1/doc/reference.html-247-<pre class="eg"> |
| | 37 | expat-2.0.1/doc/reference.html-248-#include <expat.h> |
| | 38 | expat-2.0.1/doc/reference.html-249- |
| | 39 | expat-2.0.1/doc/reference.html-250-#ifndef XMLCALL |
| | 40 | expat-2.0.1/doc/reference.html:251:#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__) |
| | 41 | expat-2.0.1/doc/reference.html-252-#define XMLCALL __cdecl |
| | 42 | expat-2.0.1/doc/reference.html-253-#elif defined(__GNUC__) |
| | 43 | expat-2.0.1/doc/reference.html-254-#define XMLCALL __attribute__((cdecl)) |
| | 44 | expat-2.0.1/doc/reference.html-255-#else |
| | 45 | expat-2.0.1/doc/reference.html-256-#define XMLCALL |
| | 46 | expat-2.0.1/doc/reference.html-257-#endif |
| | 47 | expat-2.0.1/doc/reference.html-258-#endif |
| | 48 | expat-2.0.1/doc/reference.html-259-</pre> |
| | 49 | expat-2.0.1/doc/reference.html-260- |
| | 50 | expat-2.0.1/doc/reference.html-261-<p>After creating the parser, the main program just has the job of |
| | 51 | -- |
| | 52 | expat-2.0.1/lib/expat_external.h-1-/* Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd |
| | 53 | expat-2.0.1/lib/expat_external.h-2- See the file COPYING for copying permission. |
| | 54 | expat-2.0.1/lib/expat_external.h-3-*/ |
| | 55 | expat-2.0.1/lib/expat_external.h-4- |
| | 56 | expat-2.0.1/lib/expat_external.h-5-#ifndef Expat_External_INCLUDED |
| | 57 | expat-2.0.1/lib/expat_external.h-6-#define Expat_External_INCLUDED 1 |
| | 58 | expat-2.0.1/lib/expat_external.h-7- |
| | 59 | expat-2.0.1/lib/expat_external.h-8-/* External API definitions */ |
| | 60 | expat-2.0.1/lib/expat_external.h-9- |
| | 61 | expat-2.0.1/lib/expat_external.h:10:#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__) |
| | 62 | expat-2.0.1/lib/expat_external.h-11-#define XML_USE_MSC_EXTENSIONS 1 |
| | 63 | expat-2.0.1/lib/expat_external.h-12-#endif |
| | 64 | expat-2.0.1/lib/expat_external.h-13- |
| | 65 | expat-2.0.1/lib/expat_external.h-14-/* Expat tries very hard to make the API boundary very specifically |
| | 66 | expat-2.0.1/lib/expat_external.h-15- defined. There are two macros defined to control this boundary; |
| | 67 | expat-2.0.1/lib/expat_external.h-16- each of these can be defined before including this header to |
| | 68 | expat-2.0.1/lib/expat_external.h-17- achieve some different behavior, but doing so it not recommended or |
| | 69 | expat-2.0.1/lib/expat_external.h-18- tested frequently. |
| | 70 | expat-2.0.1/lib/expat_external.h-19- |
| | 71 | expat-2.0.1/lib/expat_external.h-20- XMLCALL - The calling convention to use for all calls across the |
| | 72 | -- |
| | 73 | expat-2.0.1/xmlwf/readfilemap.c-9-#include <stdio.h> |
| | 74 | expat-2.0.1/xmlwf/readfilemap.c-10- |
| | 75 | expat-2.0.1/xmlwf/readfilemap.c-11-#ifdef __WATCOMC__ |
| | 76 | expat-2.0.1/xmlwf/readfilemap.c-12-#ifndef __LINUX__ |
| | 77 | expat-2.0.1/xmlwf/readfilemap.c-13-#include <io.h> |
| | 78 | expat-2.0.1/xmlwf/readfilemap.c-14-#else |
| | 79 | expat-2.0.1/xmlwf/readfilemap.c-15-#include <unistd.h> |
| | 80 | expat-2.0.1/xmlwf/readfilemap.c-16-#endif |
| | 81 | expat-2.0.1/xmlwf/readfilemap.c-17-#endif |
| | 82 | expat-2.0.1/xmlwf/readfilemap.c-18- |
| | 83 | expat-2.0.1/xmlwf/readfilemap.c:19:#ifdef __BEOS__ |
| | 84 | expat-2.0.1/xmlwf/readfilemap.c-20-#include <unistd.h> |
| | 85 | expat-2.0.1/xmlwf/readfilemap.c-21-#endif |
| | 86 | expat-2.0.1/xmlwf/readfilemap.c-22- |
| | 87 | expat-2.0.1/xmlwf/readfilemap.c-23-#ifndef S_ISREG |
| | 88 | expat-2.0.1/xmlwf/readfilemap.c-24-#ifndef S_IFREG |
| | 89 | expat-2.0.1/xmlwf/readfilemap.c-25-#define S_IFREG _S_IFREG |
| | 90 | expat-2.0.1/xmlwf/readfilemap.c-26-#endif |
| | 91 | expat-2.0.1/xmlwf/readfilemap.c-27-#ifndef S_IFMT |
| | 92 | expat-2.0.1/xmlwf/readfilemap.c-28-#define S_IFMT _S_IFMT |
| | 93 | expat-2.0.1/xmlwf/readfilemap.c-29-#endif |
| | 94 | }}} |