delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/05/01/17:43:03

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200005012238.AAA20544@father.ludd.luth.se>
Subject: libc/features.h
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Tue, 2 May 2000 00:38:33 +0200 (MET DST)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Here's a first stab at features.h. Corrections to support gcc 3.0 if
necessary are welcome (but I think it will #define __STDC_VERSION__ to
be >= 199901, so it should work as is).


Genesis, Selling England by the Pound,

							MartinS

----- libc/features.h starts. -----
/* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */
#ifndef __dj_include_libc_features_h__
#define __dj_include_libc_features_h__

#ifdef __cplusplus
extern "C" {
#endif

#if __STDC_VERSION__ >= 199901
#elif __GNUC__ >= 2 && __GNUC_MINOR__ >= 91
#define restrict __restrict__
#else
#define restrict
#endif


#ifdef __cplusplus
}
#endif

#endif /* __dj_include_libc_features_h__ */
----- libc/features.h ends. -----

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019