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
/
test1.c
blob
f2c28f7785c22a8cdf96110847fc10084b0c1097
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
DLLEXPORT
extern
int
library_function
(
void
);
19
20
int
21
main
(
int
argc
,
char
*
argv
[])
22
{
23
library_function
();
24
exit
(
0
);
25
}