2009-01-09 [colin] 3.7.0cvs19
[claws.git] / src / common / utils.h
index 7195c70bb43bb2e1d951c6c1852634f55218ce94..b7df76ba9d78fe6bd91e8c93564ca08b8131444a 100644 (file)
@@ -71,6 +71,13 @@ gint g_chmod (const gchar    *path,
 
 #endif /* !GLIB_CHECK_VERSION */
 
+/* why is this sometimes undefined !? */
+#ifndef G_MAXOFFSET
+typedef gint64 goffset;
+#define G_MINOFFSET    G_MININT64
+#define G_MAXOFFSET    G_MAXINT64
+#endif
+
 #ifndef HAVE_U32_TYPEDEF
   #undef u32       /* maybe there is a macro with this name */
   typedef guint32 u32;
@@ -351,7 +358,10 @@ const gchar *get_tmp_dir           (void);
 const gchar *get_locale_dir            (void);
 gchar *get_tmp_file                    (void);
 const gchar *get_domain_name           (void);
-
+#ifdef G_OS_WIN32
+const gchar *get_themes_dir             (void);
+const gchar *get_cert_file             (void);
+#endif
 /* file / directory handling */
 off_t get_file_size            (const gchar    *file);
 off_t get_file_size_as_crlf    (const gchar    *file);