~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_global.h

  • Committer: Brian Aker
  • Date: 2008-07-29 23:35:42 UTC
  • mfrom: (230.1.9 codestyle)
  • Revision ID: brian@tangent.org-20080729233542-7v45euk60f33rk4f
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
#define NEVER_INLINE
130
130
#endif
131
131
 
 
132
/*
 
133
 *   Disable __attribute__ for non GNU compilers, since we're using them
 
134
 *     only to either generate or suppress warnings.
 
135
 *     */
 
136
#ifndef __attribute__
 
137
# if !defined(__GNUC__)
 
138
#  define __attribute__(A)
 
139
# endif
 
140
#endif
 
141
 
132
142
 
133
143
/* Fix problem with S_ISLNK() on Linux */
134
144
#if defined(TARGET_OS_LINUX) || defined(__GLIBC__)
357
367
#define my_const_cast(A) (A)
358
368
#endif
359
369
 
360
 
#include <my_attribute.h>
361
 
 
362
370
/* From old s-system.h */
363
371
 
364
372
/*