aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1parser/asn1p_expr_str.h
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-02-25 14:20:30 +0000
committerLev Walkin <vlm@lionet.info>2005-02-25 14:20:30 +0000
commit4efbfb7e5553b41f4d725479823705aa6ef073cc (patch)
treeda88699c9d0001e9f7415a7b38e1fc2887bf3503 /libasn1parser/asn1p_expr_str.h
parent8d35c46db72ad6cf53e47c10253d9754af535f22 (diff)
portability fixes
Diffstat (limited to 'libasn1parser/asn1p_expr_str.h')
-rw-r--r--libasn1parser/asn1p_expr_str.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libasn1parser/asn1p_expr_str.h b/libasn1parser/asn1p_expr_str.h
index d99f8350..8e9545df 100644
--- a/libasn1parser/asn1p_expr_str.h
+++ b/libasn1parser/asn1p_expr_str.h
@@ -5,6 +5,10 @@
#ifndef ASN1_PARSER_EXPR_STR_H
#define ASN1_PARSER_EXPR_STR_H
+#ifndef __GNUC__
+#define __attribute__(x) /* unused */
+#endif
+
static char *asn1p_expr_type2str[] __attribute__ ((unused)) = {
[ ASN_CONSTR_SEQUENCE ] = "SEQUENCE",
[ ASN_CONSTR_CHOICE ] = "CHOICE",