mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 10:12:59 +01:00
Version 3.1.18 is currently tagged as testing but seems to be working OK. SELinux support has been turned off on this build.
15 lines
250 B
Diff
15 lines
250 B
Diff
--- parsetime.orig.y
|
|
+++ parsetime.y
|
|
@@ -17,6 +17,11 @@
|
|
extern int yylex();
|
|
|
|
int add_date(int number, int period);
|
|
+
|
|
+#ifndef __isleap
|
|
+#define __isleap(year) ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
|
|
+#endif
|
|
+
|
|
%}
|
|
|
|
%union {
|