Code

updates to the win32 port -- Chris Larsen
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 24 Nov 2011 14:55:06 +0000 (14:55 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 24 Nov 2011 14:55:06 +0000 (14:55 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2223 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_client.h
program/win32/config.h
program/win32/rrdlib.vcproj

index 681397dd571480b2087a09e64da7b802392edb93..a57cdb74487952078d9e6cb9eea6b903c860fd0a 100644 (file)
@@ -93,11 +93,16 @@ int rrdc_fetch (const char *filename,
     rrd_value_t **ret_data);
 
 #else
+#   define rrdc_create(a,b,c,d,e,f) 0
 #      define rrdc_flush_if_daemon(a,b) 0
 #      define rrdc_connect(a) 0
 #      define rrdc_is_connected(a) 0
 #      define rrdc_flush(a) 0
 #      define rrdc_update(a,b,c) 0
+#   define rrdc_last(a) 0
+#   define rrdc_first(a,b) 0
+#   define rrdc_fetch(a,b,c,d,e,f,g,h) 0
+#   define rrdc_info(a) 0
 #endif
 
 struct rrdc_stats_s
index 7855b2d3a37cb2033de193059485945b0c6364fe..1a9a9ed01bc8c60140d93fade7a6df61e7725987 100644 (file)
@@ -29,9 +29,9 @@
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
-#define NUMVERS 1.4030
+#define NUMVERS 1.4050
 #define PACKAGE_NAME "rrdtool"
-#define PACKAGE_VERSION "1.4.3"
+#define PACKAGE_VERSION "1.4.5"
 #define PACKAGE_STRING PACKAGE_NAME " " PACKAGE_VERSION
 
 #define isinf(a) (_fpclass(a) == _FPCLASS_NINF || _fpclass(a) == _FPCLASS_PINF)
index 9ea6bbf6520c13adec01ecb96a67d1c80fc798bc..0f334cfd4a6e37af7eb287a3f9ea57cfeb1e9053 100644 (file)
@@ -64,6 +64,7 @@
                        />
                        <Tool
                                Name="VCLibrarianTool"
+                               LinkLibraryDependencies="true"
                                AdditionalDependencies="cairo.lib pango-1.0.lib pangocairo-1.0.lib libpng.lib zdll.lib glib-2.0.lib gobject-2.0.lib libxml2.lib"
                                AdditionalLibraryDirectories="../contrib/lib"
                                ModuleDefinitionFile=""
                                RelativePath="..\src\rrd.h"
                                >
                        </File>
+                       <File
+                               RelativePath="..\src\rrd_client.h"
+                               >
+                       </File>
                        <File
                                RelativePath="..\src\rrd_format.h"
                                >