Code

merged updated win32 port by Larry Adams and the cacti team
[rrdtool.git] / src / rrd.h
index 53838c04a3abb975717264aa637a02e323cceb36..dc996695678714e29835102288012936e9fec4e5 100644 (file)
--- a/src/rrd.h
+++ b/src/rrd.h
@@ -58,7 +58,9 @@ extern    "C" {
 #include <unistd.h>     /* for off_t */
 #else
 #ifdef _MSC_VER
+#ifndef PERLPATCHLEVEL
        typedef int mode_t;
+#endif
        #define strtoll _strtoi64 
 #endif
        typedef size_t ssize_t;