repo.or.cz
/
scons.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #4674 from bdbaddog/fix_2281_Aliases_ignore_pre_post_add_actions
[scons.git]
/
test
/
ninja
/
ninja-fixture
/
test_impl.c
blob
5f123062a80c9c3c7c087016954aa91a89823e02
1
// SPDX-License-Identifier: MIT
2
//
3
// Copyright The SCons Foundation
4
5
#include <stdio.h>
6
#include <stdlib.h>
7
8
#ifdef WIN32
9
#ifdef LIBRARY_BUILD
10
#define DLLEXPORT __declspec(dllexport)
11
#else
12
#define DLLEXPORT __declspec(dllimport)
13
#endif
14
#else
15
#define DLLEXPORT
16
#endif
17
18
19
DLLEXPORT
int
20
library_function
(
void
)
21
{
22
printf
(
"library_function"
);
23
return
0
;
24
}