[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/kfontinst/kfontinst
From:       Craig Drummond <craig () kde ! org>
Date:       2005-02-23 15:38:52
Message-ID: 20050223153852.56D9716EF1 () office ! kde ! org
[Download RAW message or body]

CVS commit by craig: 

Patch as suggested in Bug#99336


  M +14 -1     GetPid.c   1.3


--- kdebase/kcontrol/kfontinst/kfontinst/GetPid.c  #1.2:1.3
@@ -244,5 +244,18 @@ unsigned int kfi_getPid(const char *proc
 #include <sys/resource.h>
 #ifdef OS_Solaris
+
+#if (!defined(_LP64)) && (_FILE_OFFSET_BITS - 0 == 64)
+#define PROCFS_FILE_OFFSET_BITS_HACK 1
+#undef _FILE_OFFSET_BITS
+#else
+#define PROCFS_FILE_OFFSET_BITS_HACK 0
+#endif
+
 #include <procfs.h>
+
+#if (PROCFS_FILE_OFFSET_BITS_HACK - 0 == 1)
+#define _FILE_OFFSET_BITS 64
+#endif
+
 #else
 #include <sys/procfs.h>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic