/****************************************************************************
- * Copyright (c) 1998,2010,2011 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2011,2013 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
/*
Version Control
- $Id: gen.c,v 1.60 2011/04/30 19:47:19 Nicolas.Boulenguez Exp $
+ $Id: gen.c,v 1.61 2013/08/24 23:30:46 tom Exp $
--------------------------------------------------------------------------*/
/*
This program generates various record structures and constants from the
*/
static const name_attribute_pair nap[] =
{
-#if A_STANDOUT
+#ifdef A_STANDOUT
{"Stand_Out", A_STANDOUT},
#endif
-#if A_UNDERLINE
+#ifdef A_UNDERLINE
{"Under_Line", A_UNDERLINE},
#endif
-#if A_REVERSE
+#ifdef A_REVERSE
{"Reverse_Video", A_REVERSE},
#endif
-#if A_BLINK
+#ifdef A_BLINK
{"Blink", A_BLINK},
#endif
-#if A_DIM
+#ifdef A_DIM
{"Dim_Character", A_DIM},
#endif
-#if A_BOLD
+#ifdef A_BOLD
{"Bold_Character", A_BOLD},
#endif
-#if A_ALTCHARSET
+#ifdef A_ALTCHARSET
{"Alternate_Character_Set", A_ALTCHARSET},
#endif
-#if A_INVIS
+#ifdef A_INVIS
{"Invisible_Character", A_INVIS},
#endif
-#if A_PROTECT
+#ifdef A_PROTECT
{"Protected_Character", A_PROTECT},
#endif
-#if A_HORIZONTAL
+#ifdef A_HORIZONTAL
{"Horizontal", A_HORIZONTAL},
#endif
-#if A_LEFT
+#ifdef A_LEFT
{"Left", A_LEFT},
#endif
-#if A_LOW
+#ifdef A_LOW
{"Low", A_LOW},
#endif
-#if A_RIGHT
+#ifdef A_RIGHT
{"Right", A_RIGHT},
#endif
-#if A_TOP
+#ifdef A_TOP
{"Top", A_TOP},
#endif
-#if A_VERTICAL
+#ifdef A_VERTICAL
{"Vertical", A_VERTICAL},
#endif
{(char *)0, 0}