ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/compiler.h
(Generate patch)

Comparing deliantra/server/include/compiler.h (file contents):
Revision 1.15 by root, Mon Oct 29 23:55:53 2012 UTC vs.
Revision 1.17 by root, Fri Nov 18 04:46:35 2016 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * 5 *
6 * Deliantra is free software: you can redistribute it and/or modify it under 6 * Deliantra is free software: you can redistribute it and/or modify it under
7 * the terms of the Affero GNU General Public License as published by the 7 * the terms of the Affero GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or (at your 8 * Free Software Foundation, either version 3 of the License, or (at your
9 * option) any later version. 9 * option) any later version.
41# define expect(expr,value) (expr) 41# define expect(expr,value) (expr)
42# define prefetch(addr,rw,locality) 42# define prefetch(addr,rw,locality)
43# define noinline 43# define noinline
44#endif 44#endif
45 45
46#if GCC_VERSION(4,5)
47# define decltype(x) __decltype(x)
48#elif GCC_VERSION(3,0)
49# define decltype(x) typeof(x)
50#endif
51
52#define func_const attribute ((const)) 46#define func_const attribute ((const))
53#define func_pure attribute ((pure)) 47#define func_pure attribute ((pure))
54#define func_hot attribute ((hot)) // 4.x 48#define func_hot attribute ((hot)) // 4.x
55#define func_cold attribute ((cold)) // 4.x 49#define func_cold attribute ((cold)) // 4.x
56 50

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines