summaryrefslogtreecommitdiffabout
path: root/libkcal/versit/port.h
Unidiff
Diffstat (limited to 'libkcal/versit/port.h') (more/less context) (show whitespace changes)
-rw-r--r--libkcal/versit/port.h15
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
@@ -39,10 +39,21 @@ DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
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)
43extern "C" { 44extern "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
@@ -59,6 +70,8 @@ For example:
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
@@ -66,7 +79,7 @@ For example:
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}