ENH: add extern for hp c compiler
This commit is contained in:
parent
445e091ffa
commit
9eb1ec3efe
|
@ -2,6 +2,6 @@
|
|||
__declspec(dllexport)
|
||||
#endif
|
||||
|
||||
void foo()
|
||||
extern void foo()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifdef _WIN32
|
||||
__declspec(dllimport)
|
||||
#endif
|
||||
void foo();
|
||||
extern void foo();
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifdef _WIN32
|
||||
__declspec(dllimport)
|
||||
#endif
|
||||
void bar();
|
||||
extern void bar();
|
||||
|
||||
int main(int ac, char** av)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue