ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtutil.h
(Generate patch)

Comparing rxvt-unicode/src/rxvtutil.h (file contents):
Revision 1.27 by root, Fri Jun 23 14:31:38 2006 UTC vs.
Revision 1.29 by ayin, Wed Oct 31 09:55:24 2007 UTC

9#define PP_CONCAT_(a, b) a ## b 9#define PP_CONCAT_(a, b) a ## b
10#define PP_CONCAT(a, b) PP_CONCAT_(a, b) 10#define PP_CONCAT(a, b) PP_CONCAT_(a, b)
11#define PP_STRINGIFY_(a) #a 11#define PP_STRINGIFY_(a) #a
12#define PP_STRINGIFY(a) PP_STRINGIFY_(a) 12#define PP_STRINGIFY(a) PP_STRINGIFY_(a)
13 13
14// actually, some gcc-3.x versions work, too 14#define HAVE_GCC_BUILTINS (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ == 4))
15#define HAVE_GCC_BUILTINS (__GNUC__ >= 4)
16 15
17#ifndef __attribute__ 16#ifndef __attribute__
18# if __GNUC__ 17# if __GNUC__
19# if (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || (__GNUC__ < 2) 18# if (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || (__GNUC__ < 2)
20# define __attribute__(x) 19# define __attribute__(x)
91 void *operator new (size_t s); 90 void *operator new (size_t s);
92 void operator delete (void *p, size_t s); 91 void operator delete (void *p, size_t s);
93}; 92};
94 93
95/* simplevec taken (and heavily modified), from: 94/* simplevec taken (and heavily modified), from:
96 * 95 *
97 * MICO --- a free CORBA implementation 96 * MICO --- a free CORBA implementation
98 * Copyright (C) 1997-98 Kay Roemer & Arno Puder 97 * Copyright (C) 1997-98 Kay Roemer & Arno Puder
99 */ 98 */
100template<class T> 99template<class T>
101struct simplevec { 100struct simplevec {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines