1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
/*
* libslack - https://libslack.org
*
* Copyright (C) 1999-2004, 2010, 2020-2023 raf <raf@raf.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <https://www.gnu.org/licenses/>.
*
* 20230824 raf <raf@raf.org>
*/
#ifndef LIBSLACK_STD_H
#define LIBSLACK_STD_H
#ifndef NO_STDC
#ifndef __STDC__
#define __STDC__
#endif
#endif
#ifndef NO_STRICT_ANSI
#ifndef __STRICT_ANSI__
#define __STRICT_ANSI__
#endif
#endif
#ifndef NO_POSIX_SOURCE
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#endif
#endif
#ifndef NO_POSIX_C_SOURCE
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809
#endif
#endif
#ifndef NO_XOPEN_SOURCE
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 700
#endif
#endif
#ifndef NO_ISOC9X_SOURCE
#ifndef _ISOC9X_SOURCE
#define _ISOC9X_SOURCE
#endif
#endif
#ifndef NO_EXTENSIONS
#ifndef __EXTENSIONS__
#define __EXTENSIONS__
#endif
#endif
#ifndef NO_REENTRANT
#ifndef _REENTRANT
#define _REENTRANT
#endif
#endif
#ifndef NO_THREAD_SAFE
#ifndef _THREAD_SAFE
#define _THREAD_SAFE
#endif
#endif
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <float.h>
#include <limits.h>
#include <locale.h>
#include <math.h>
#include <setjmp.h>
#include <signal.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <unistd.h>
#include <pthread.h>
#endif
/* vi:set ts=4 sw=4: */
|