autosprintf.h (encfs-1.9.4) | : | autosprintf.h (encfs-1.9.5) | ||
---|---|---|---|---|
/* Class autosprintf - formatted output to an ostream. | /* Class autosprintf - formatted output to an ostream. | |||
Copyright (C) 2002 Free Software Foundation, Inc. | Copyright (C) 2002 Free Software Foundation, Inc. | |||
This program is free software; you can redistribute it and/or modify it | This program is free software: you can redistribute it and/or modify | |||
under the terms of the GNU Library General Public License as published | it under the terms of the GNU Library General Public License as published by | |||
by the Free Software Foundation; either version 2, or (at your option) | the Free Software Foundation, either version 2 of the License, or | |||
any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
Library General Public License for more details. | GNU Library General Public License for more details. | |||
You should have received a copy of the GNU Library General Public | You should have received a copy of the GNU Library General Public License | |||
License along with this program; if not, write to the Free Software | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||||
USA. */ | ||||
#ifndef _AUTOSPRINTF_H | #ifndef _AUTOSPRINTF_H | |||
#define _AUTOSPRINTF_H | #define _AUTOSPRINTF_H | |||
#ifndef __attribute__ | #ifndef __attribute__ | |||
/* This feature is available in gcc versions 2.5 and later. */ | /* This feature is available in gcc versions 2.5 and later. */ | |||
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__ | #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__ | |||
#define __attribute__(Spec) /* empty */ | #define __attribute__(Spec) /* empty */ | |||
#endif | #endif | |||
/* The __-protected variants of `format' and `printf' attributes | /* The __-protected variants of `format' and `printf' attributes | |||
End of changes. 3 change blocks. | ||||
10 lines changed or deleted | 8 lines changed or added |