repo.or.cz
/
dragora.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
qi: doc: added 'Order files' section to the manual
[dragora.git]
/
patches
/
at
/
flex_isleap.patch
blob
0ab8c98eb3db4c4716c9598eef8e7f7e13661e46
1
--- parsetime.y.orig 2015-05-11 15:16:53.018305563 +0200
2
+++ parsetime.y 2015-05-11 15:17:22.820153470 +0200
3
@@ -6,6 +6,10 @@
4
#include "parsetime.h"
5
#include "panic.h"
6
7
+#ifndef __isleap
8
+#define __isleap(year) ((year)%4 == 0 && ((year)%100 != 0 || (year)%400 == 0))
9
+#endif
10
+
11
#define YYDEBUG 1
12
13
struct tm exectm;