Commit 8c031cd614ba6525978f6cf82ed04de43d32ae3e
1 parent
b5bb28c1
Exists in
master
and in
5 other branches
Pequenos ajustes
Showing
2 changed files
with
15 additions
and
3 deletions
Show diff stats
src/plugins/hllapi/hllapi.cbp
... | ... | @@ -15,6 +15,14 @@ |
15 | 15 | <Compiler> |
16 | 16 | <Add option="-g" /> |
17 | 17 | </Compiler> |
18 | + <MakeCommands> | |
19 | + <Build command="$make LIB3270_MODE=Debug -f $makefile $target" /> | |
20 | + <CompileFile command="$make -f $makefile $file" /> | |
21 | + <Clean command="$make -f $makefile clean$target" /> | |
22 | + <DistClean command="$make -f $makefile distclean$target" /> | |
23 | + <AskRebuildNeeded command="$make -q -f $makefile $target" /> | |
24 | + <SilentBuild command="$make LIB3270_MODE=Debug -f $makefile $target > $(CMD_NULL)" /> | |
25 | + </MakeCommands> | |
18 | 26 | </Target> |
19 | 27 | <Target title="Release"> |
20 | 28 | <Option output=".bin/Release/pw3270 HLLAPI" prefix_auto="1" extension_auto="1" /> |
... | ... | @@ -37,9 +45,9 @@ |
37 | 45 | <Add option="-g" /> |
38 | 46 | </Compiler> |
39 | 47 | <Environment> |
40 | - <Variable name="LIB3270_CFLAGS" value='"-I..\..\..\src\include"' /> | |
41 | - <Variable name="LIB3270_LIBS" value='"-L..\..\..\.bin\Debug -l3270"' /> | |
42 | - <Variable name="PW3270_LIBS" value='"-L..\..\..\.bin\Debug -lpw3270 -l3270"' /> | |
48 | + <Variable name="LIB3270_CFLAGS" value='"-I../../../src/include"' /> | |
49 | + <Variable name="LIB3270_LIBS" value='"-L../../../.bin/Debug -l3270"' /> | |
50 | + <Variable name="PW3270_LIBS" value='"-L../../../.bin/Debug -lpw3270 -l3270"' /> | |
43 | 51 | </Environment> |
44 | 52 | <MakeCommands> |
45 | 53 | <Build command="$make LIB3270_MODE=Debug -f $makefile $target" /> | ... | ... |
src/plugins/hllapi/server.h
... | ... | @@ -40,6 +40,7 @@ |
40 | 40 | #include <pw3270.h> |
41 | 41 | #include <pw3270/hllapi.h> |
42 | 42 | |
43 | +#ifdef _WIN32 | |
43 | 44 | #include <windows.h> |
44 | 45 | |
45 | 46 | #define PIPE_BUFFER_LENGTH HLLAPI_MAXLENGTH+30 |
... | ... | @@ -47,3 +48,6 @@ |
47 | 48 | G_GNUC_INTERNAL void popup_lasterror(const gchar *fmt, ...); |
48 | 49 | G_GNUC_INTERNAL void set_active(gboolean on); |
49 | 50 | |
51 | +#endif // WIN32 | |
52 | + | |
53 | + | ... | ... |