-rw-r--r-- | libkcal/versit/port.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libkcal/versit/port.h b/libkcal/versit/port.h index afc16dd..1768bee 100644 --- a/libkcal/versit/port.h +++ b/libkcal/versit/port.h | |||
@@ -38,12 +38,23 @@ DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable. | |||
38 | 38 | ||
39 | #ifndef __PORT_H__ | 39 | #ifndef __PORT_H__ |
40 | #define __PORT_H__ 1 | 40 | #define __PORT_H__ 1 |
41 | 41 | ||
42 | |||
42 | #if defined(__CPLUSPLUS__) || defined(__cplusplus) | 43 | #if defined(__CPLUSPLUS__) || defined(__cplusplus) |
43 | extern "C" { | 44 | extern "C" { |
44 | #endif | 45 | #endif |
45 | 46 | ||
47 | /* some of these #defines are commented out because */ | ||
48 | /* Visual C++ sets them on the compiler command line instead */ | ||
49 | |||
50 | /* #define _DEBUG */ | ||
51 | /* #define WIN32 */ | ||
52 | /* #define WIN16 */ | ||
53 | /* #define _WINDOWS */ | ||
54 | /* #define __MWERKS__ */ | ||
55 | /* #define INCLUDEMFC */ | ||
56 | |||
46 | #define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard" | 57 | #define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard" |
47 | #define vCalendarClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCalendar" | 58 | #define vCalendarClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCalendar" |
48 | 59 | ||
49 | /* The above strings vCardClipboardFormat and vCalendarClipboardFormat | 60 | /* The above strings vCardClipboardFormat and vCalendarClipboardFormat |
@@ -58,16 +69,18 @@ For example: | |||
58 | 69 | ||
59 | #define vCardMimeType "text/x-vCard" | 70 | #define vCardMimeType "text/x-vCard" |
60 | #define vCalendarMimeType "text/x-vCalendar" | 71 | #define vCalendarMimeType "text/x-vCalendar" |
61 | 72 | ||
73 | #define DLLEXPORT(t) t | ||
74 | |||
62 | #ifndef FALSE | 75 | #ifndef FALSE |
63 | #define FALSE 0 | 76 | #define FALSE 0 |
64 | #endif | 77 | #endif |
65 | #ifndef TRUE | 78 | #ifndef TRUE |
66 | #define TRUE 1 | 79 | #define TRUE 1 |
67 | #endif | 80 | #endif |
68 | 81 | ||
69 | #define Parse_Debug(t) | 82 | #define stricmp strcasecmp |
70 | 83 | ||
71 | #if defined(__CPLUSPLUS__) || defined(__cplusplus) | 84 | #if defined(__CPLUSPLUS__) || defined(__cplusplus) |
72 | } | 85 | } |
73 | #endif | 86 | #endif |