mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
ade4cf0bbf
unconditionally, use macros with arguments. * include/_slang.h: Make it clear which parts are disabled for compatibility with glib. * include/slinclud.h: Include malloc.h only if STDC_HEADERS is not defined.
31 lines
483 B
C
31 lines
483 B
C
#ifndef _SLANG_INCLUDE_H_
|
|
#define _SLANG_INCLUDE_H_
|
|
|
|
#include "config.h"
|
|
#include "sl-feat.h"
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#if defined(__QNX__) && defined(__WATCOMC__)
|
|
# include <unix.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_STDLIB_H
|
|
# include <stdlib.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
|
|
#if !defined(STDC_HEADERS) && defined(HAVE_MALLOC_H)
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_MEMORY_H
|
|
# include <memory.h>
|
|
#endif
|
|
|
|
#endif /* _SLANG_INCLUDE_H_ */
|