Tidy to avoid some external symbols

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22631 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-03-10 10:46:37 +00:00
parent 0060ce88ce
commit 32bd52f23c
5 changed files with 66 additions and 80 deletions

View file

@ -24,6 +24,19 @@
#ifndef __GSPrivate_h_
#define __GSPrivate_h_
/* Absolute Gregorian date for NSDate reference date Jan 01 2001
*
* N = 1; // day of month
* N = N + 0; // days in prior months for year
* N = N + // days this year
* + 365 * (year - 1) // days in previous years ignoring leap days
* + (year - 1)/4 // Julian leap days before this year...
* - (year - 1)/100 // ...minus prior century years...
* + (year - 1)/400 // ...plus prior years divisible by 400
*/
#define GREGORIAN_REFERENCE 730486
#include "GNUstepBase/GSObjCRuntime.h"
/**