Last change
on this file since 9c2ac95 was
3bd2464,
checked in by Peter A. Buhr <pabuhr@…>, 4 years ago
|
deal with vtable keyword clash in libltdl/lt_dlloader.h
|
-
Property mode set to
100644
|
File size:
918 bytes
|
Line | |
---|
1 | // |
---|
2 | // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo |
---|
3 | // |
---|
4 | // The contents of this file are covered under the licence agreement in the |
---|
5 | // file "LICENCE" distributed with Cforall. |
---|
6 | // |
---|
7 | // lt_dlloader.h -- |
---|
8 | // |
---|
9 | // Author : Peter A. Buhr |
---|
10 | // Created On : Thu Apr 1 13:49:40 2021 |
---|
11 | // Last Modified By : Peter A. Buhr |
---|
12 | // Last Modified On : Thu Apr 1 14:00:19 2021 |
---|
13 | // Update Count : 4 |
---|
14 | // |
---|
15 | |
---|
16 | extern "C" { |
---|
17 | #if ! defined( vtable ) // nesting ? |
---|
18 | #define vtable ``vtable // make keyword an identifier |
---|
19 | #define __CFA_LT_DLLOADER_H__ |
---|
20 | #endif |
---|
21 | |
---|
22 | #include_next <libltdl/lt_dlloader.h> // has internal check for multiple expansion |
---|
23 | |
---|
24 | #if defined( vtable ) && defined( __CFA_LT_DLLOADER_H__ ) // reset only if set |
---|
25 | #undef vtable |
---|
26 | #undef __CFA_LT_DLLOADER_H__ |
---|
27 | #endif |
---|
28 | } // extern "C" |
---|
29 | |
---|
30 | // Local Variables: // |
---|
31 | // tab-width: 4 // |
---|
32 | // mode: c++ // |
---|
33 | // compile-command: "make install" // |
---|
34 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.