G_OS_FOO #defines. I *think* I got the cygwin and beos stuff right, but

I haven't tested it. The respective porters should fix any screwups

-Yosh
This commit is contained in:
Manish Singh
1999-10-04 02:32:50 +00:00
parent 4944d4df46
commit 7ea73a0199
37 changed files with 344 additions and 206 deletions

View File

@@ -40,11 +40,11 @@ extern const char *g_log_domain_gmodule;
* to feature Windows dll stubs.
*/
#define G_MODULE_IMPORT extern
#ifdef NATIVE_WIN32
#ifdef G_OS_WIN32
# define G_MODULE_EXPORT __declspec(dllexport)
#else /* !NATIVE_WIN32 */
#else /* !G_OS_WIN32 */
# define G_MODULE_EXPORT
#endif /* !NATIVE_WIN32 */
#endif /* !G_OS_WIN32 */
typedef enum
{