X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=tools%2Fwmc%2Fwmc.h;fp=tools%2Fwmc%2Fwmc.h;h=288a90b016e041ccc06e049acc6659108115f3ae;hp=9ac5ad610837491fa27495f369c5ad14f11c8192;hb=e3ed2d773259cc445c7ff8181ebd934931365328;hpb=d378c68f5a9bb25c9e671dacd482d2e25d211df3 diff --git a/tools/wmc/wmc.h b/tools/wmc/wmc.h index 9ac5ad6..288a90b 100644 --- a/tools/wmc/wmc.h +++ b/tools/wmc/wmc.h @@ -3,6 +3,19 @@ * * Copyright 2000 Bertho A. Stultiens (BS) * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __WMC_WMC_H @@ -71,6 +84,15 @@ void add_token(tok_e type, const WCHAR *name, int tok, int cp, const WCHAR *alia token_t *lookup_token(const WCHAR *s); void get_tokentable(token_t **tab, int *len); + +#ifdef __GNUC__ #define _alloca alloca +//#define alloca __builtin_alloca +#else /* not GNU C. */ +//#define alloca __builtin_alloca + +#pragma warning (disable:4305) // 'initializing' : truncation from 'const int ' to 'const char ' + +#endif /*__GNUC__*/ #endif