aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/macscp4.h
blob: 5302d8d3c47a79968220ea61227d6b6e7115116c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* Put together a macro we can use as part of function names.  */
#undef MACSCP4_INCLUSION
#ifdef IN_MACSCP2_H
#define MACSCP4_INCLUSION from_macscp2
#endif
#ifdef IN_MACSCP3_H
#define MACSCP4_INCLUSION from_macscp3
#endif

#undef WHERE
#ifdef IN_MACSCP2_H
#define WHERE before macscp4_1_..., from macscp2.h
#define BEFORE_MACSCP4_1_FROM_MACSCP2
#undef UNTIL_MACSCP4_1_FROM_MACSCP2
#endif
#ifdef IN_MACSCP3_H
#define WHERE before macscp4_1_..., from macscp3.h
#define BEFORE_MACSCP4_1_FROM_MACSCP3
#undef UNTIL_MACSCP4_1_FROM_MACSCP3
#endif
void
SPLICE (macscp4_1_, MACSCP4_INCLUSION) ()
{
  puts ("macscp4_1_" STRINGIFY(MACSCP4_INCLUSION));
}

#undef WHERE
#ifdef IN_MACSCP2_H
#define WHERE before macscp4_2_..., from macscp2.h
#define BEFORE_MACSCP4_2_FROM_MACSCP2
#undef UNTIL_MACSCP4_2_FROM_MACSCP2
#endif
#ifdef IN_MACSCP3_H
#define WHERE before macscp4_2_..., from macscp3.h
#define BEFORE_MACSCP4_2_FROM_MACSCP3
#undef UNTIL_MACSCP4_2_FROM_MACSCP3
#endif
void
SPLICE (macscp4_2_, MACSCP4_INCLUSION) ()
{
  puts ("macscp4_2_" STRINGIFY(MACSCP4_INCLUSION));
}

#define DEFINED_IN_MACSCP4 this was defined in macscp4.h.