AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
sal
alloca.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3
4
#ifndef INCLUDED_SAL_ALLOCA_H
5
#define INCLUDED_SAL_ALLOCA_H
6
7
#if defined(__sun) || defined(LINUX) || defined(AIX) || defined(ANDROID) || defined(HAIKU) \
8
|| defined(MACOSX) || defined(IOS) || defined(EMSCRIPTEN)
9
10
#ifndef INCLUDED_ALLOCA_H
11
#include <
alloca.h
>
12
#define INCLUDED_ALLOCA_H
13
#endif
14
15
#elif defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY)
16
17
#ifndef INCLUDED_STDLIB_H
18
#include <stdlib.h>
19
#define INCLUDED_STDLIB_H
20
#endif
21
22
#elif defined(_WIN32)
23
24
#ifndef INCLUDED_MALLOC_H
25
#include <malloc.h>
26
#define INCLUDED_MALLOC_H
27
#endif
28
29
#else
30
31
#error "unknown platform: please check for alloca"
32
33
#endif
34
35
#endif
/* INCLUDED_SAL_ALLOCA_H */
36
37
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
alloca.h
Generated by
1.8.5