DIR struct on MinGW

Peter Kümmel syntheticpp at gmx.net
Wed Aug 2 17:57:42 CEST 2006


Christian Ehrlicher wrote:
> Peter Kümmel schrieb:
>> Paulo Jorge Guedes wrote:
>>> Great, I will apply.
>> Too late ;) I've checked it before some minutes ;)
>>
>>> (TODO: fix setitimer problem :)
>> Yes, I've hoped Christian already has fixed it.
>>
> No, but I hope to get it work today or tomorrow.
> 
> Christian
> 

We could also just disable it on Windows:

Index: interpreter.cpp
===================================================================
--- interpreter.cpp     (revision 568906)
+++ interpreter.cpp     (working copy)
@@ -50,6 +50,9 @@
 #include "runtime.h"
 #endif

+#if defined _WIN32 || defined _WIN64
+#undef HAVE_SYS_TIME_H // no setitimer in kdewin32
+#endif
 #if HAVE(SYS_TIME_H)
 #include <sys/time.h>
 #endif


More information about the Kde-buildsystem mailing list