From df40ad1b7ee430852a1a3f20f5e3449101699ca4 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Wed, 25 Jul 2001 01:12:55 +0000 Subject: [PATCH] add wrapper git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4988 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/date.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/date.h b/src/engine/date.h index cb0165d788..ce4cf6833a 100644 --- a/src/engine/date.h +++ b/src/engine/date.h @@ -64,11 +64,13 @@ typedef enum * assuming that all the other modern compilers are clean on this * issue too. */ +#ifndef SWIG /* swig 1.1p5 can't hack the long long type */ struct timespec64 { long long int tv_sec; long int tv_nsec; }; +#endif /* SWIG */ typedef struct timespec64 Timespec;