update to recent ProbLog.

This commit is contained in:
Vitor Santos Costa
2011-06-26 23:13:43 +01:00
parent 8f8e62ea63
commit be345a0387
34 changed files with 9801 additions and 129 deletions

View File

@@ -0,0 +1,50 @@
/*
* cheaders.h : A unified headers file for APT. It does slow down compile
* time somewhat, but this allows us to ensure consistent usage
* of header files and replace missing ones easily.
*/
#ifndef APT_CHEADERS_H
#define APT_CHEADERS_H
#include "apt_config.h"
#ifdef HAVE_CTYPE_H
#include <ctype.h>
#else
#error Your C compiler is very old (ctype.h missing). Time to upgrade. Sorry
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#else
#error Your C compiler is very old (string.h missing). Time to upgrade. Sorry
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#else
#error Your C compiler is very old (stdio.h missing). Time to upgrade. Sorry
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#else
#error Your C compiler is not ANSI C (stdlib.h missing). Time to upgrade. Sorry
#endif
#if HAVE_STDARG_H
# include <stdarg.h>
# define VA_START(a, f) va_start(a, f)
#else
# if HAVE_VARARGS_H
# include <varargs.h>
# define VA_START(a, f) va_start(a)
# endif
#endif
#ifndef VA_START
#error Your C compiler has no support for variable argument functions. Time to upgrade. Sorry.
#endif
#endif