summaryrefslogtreecommitdiff
path: root/src/libical/autogenex/icalrestriction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libical/autogenex/icalrestriction.c')
-rw-r--r--src/libical/autogenex/icalrestriction.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/libical/autogenex/icalrestriction.c b/src/libical/autogenex/icalrestriction.c
index 3d2bd15..2e9a0d1 100644
--- a/src/libical/autogenex/icalrestriction.c
+++ b/src/libical/autogenex/icalrestriction.c
@@ -1,7 +1,18 @@
/* -*- Mode: C -*- */
/* ======================================================================
File: icalrestriction.c
-
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of either:
+
+ The LGPL as published by the Free Software Foundation, version
+ 2.1, available at: http://www.fsf.org/copyleft/lesser.html
+
+ Or:
+
+ The Mozilla Public License Version 1.0. You may obtain a copy of
+ the License at http://www.mozilla.org/MPL/
+
(C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
======================================================================*/
/*#line 7 "icalrestriction.c.in"*/
@@ -20,8 +31,10 @@
#define TMP_BUF_SIZE 1024
#ifdef WIN32
-#define snprintf _snprintf
-#define strcasecmp stricmp
+#define snprintf _snprintf
+#endif
+#ifdef _MSC_VER
+#define strcasecmp stricmp
#endif