jsalloca.h

来自「b tree how to operate on b tr」· C头文件 代码 · 共 30 行

H
30
字号
/*JS***********************************************************************    Program : JSALLOCA*    Language: ANSI-C*    Author  : Joerg Schoen*    Purpose : Test if 'alloca' is available on a platform and set*              macro 'CONFIG_USE_ALLOCA'.**************************************************************************/#ifndef __JSALLOCA_H__#define __JSALLOCA_H__#include "jsconfig.h"#ifndef CONFIG_NO_ALLOCA# if defined(__cplusplus)  /*  Better don't use alloca with C++  */# elif defined(__sgi)#  define CONFIG_USE_ALLOCA#  include <alloca.h>  /*  need to include header  */# elif defined(_AIX)#  define CONFIG_USE_ALLOCA#  pragma alloca       /*  pragma is needed  */# elif defined(__linux)#  define CONFIG_USE_ALLOCA /*  simply switch on  */# endif#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?