summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_debug_util.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-07-23 15:45:56 +0000
committerBrian Paul <[email protected]>2004-07-23 15:45:56 +0000
commitb8f29f29eb611c92d43aaf8ffcd2d9743b3af967 (patch)
tree15081ba933fab1a8d2fd72a3736ceba68a7b11e4 /src/mesa/math/m_debug_util.h
parenta48edcf69ca6320e34d160bd7b6e69a3549fe8f2 (diff)
ALIGN16 macro repairs
Diffstat (limited to 'src/mesa/math/m_debug_util.h')
-rw-r--r--src/mesa/math/m_debug_util.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/math/m_debug_util.h b/src/mesa/math/m_debug_util.h
index e1690344530..c07cdcf7ba7 100644
--- a/src/mesa/math/m_debug_util.h
+++ b/src/mesa/math/m_debug_util.h
@@ -1,9 +1,8 @@
-
/*
* Mesa 3-D graphics library
- * Version: 3.5
+ * Version: 6.1
*
- * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -265,11 +264,11 @@ enum { NIL = 0, ONE = 1, NEG = -1, VAR = 2 };
/* Ensure our arrays are correctly aligned.
*/
#if defined(__GNUC__)
-# define ALIGN16 type array __attribute__ ((aligned (16)))
+# define ALIGN16(type, array) type array __attribute__ ((aligned (16)))
#elif defined(__MSC__)
-# define ALIGN16 type array __declspec(align(16)) /* GH: Does this work? */
+# define ALIGN16(type, array) type array __declspec(align(16)) /* GH: Does this work? */
#elif defined(__WATCOMC__)
-# define ALIGN16 /* Watcom does not support this */
+# define ALIGN16(type, array) /* Watcom does not support this */
#elif defined(__xlC__)
# define ALIGN16(type, array) type __align (16) array
#else