Commit 8c031cd614ba6525978f6cf82ed04de43d32ae3e

Authored by perry.werneck@gmail.com
1 parent b5bb28c1

Pequenos ajustes

src/plugins/hllapi/hllapi.cbp
@@ -15,6 +15,14 @@ @@ -15,6 +15,14 @@
15 <Compiler> 15 <Compiler>
16 <Add option="-g" /> 16 <Add option="-g" />
17 </Compiler> 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 &gt; $(CMD_NULL)" />
  25 + </MakeCommands>
18 </Target> 26 </Target>
19 <Target title="Release"> 27 <Target title="Release">
20 <Option output=".bin/Release/pw3270 HLLAPI" prefix_auto="1" extension_auto="1" /> 28 <Option output=".bin/Release/pw3270 HLLAPI" prefix_auto="1" extension_auto="1" />
@@ -37,9 +45,9 @@ @@ -37,9 +45,9 @@
37 <Add option="-g" /> 45 <Add option="-g" />
38 </Compiler> 46 </Compiler>
39 <Environment> 47 <Environment>
40 - <Variable name="LIB3270_CFLAGS" value='&quot;-I..\..\..\src\include&quot;' />  
41 - <Variable name="LIB3270_LIBS" value='&quot;-L..\..\..\.bin\Debug -l3270&quot;' />  
42 - <Variable name="PW3270_LIBS" value='&quot;-L..\..\..\.bin\Debug -lpw3270 -l3270&quot;' /> 48 + <Variable name="LIB3270_CFLAGS" value='&quot;-I../../../src/include&quot;' />
  49 + <Variable name="LIB3270_LIBS" value='&quot;-L../../../.bin/Debug -l3270&quot;' />
  50 + <Variable name="PW3270_LIBS" value='&quot;-L../../../.bin/Debug -lpw3270 -l3270&quot;' />
43 </Environment> 51 </Environment>
44 <MakeCommands> 52 <MakeCommands>
45 <Build command="$make LIB3270_MODE=Debug -f $makefile $target" /> 53 <Build command="$make LIB3270_MODE=Debug -f $makefile $target" />
src/plugins/hllapi/server.h
@@ -40,6 +40,7 @@ @@ -40,6 +40,7 @@
40 #include <pw3270.h> 40 #include <pw3270.h>
41 #include <pw3270/hllapi.h> 41 #include <pw3270/hllapi.h>
42 42
  43 +#ifdef _WIN32
43 #include <windows.h> 44 #include <windows.h>
44 45
45 #define PIPE_BUFFER_LENGTH HLLAPI_MAXLENGTH+30 46 #define PIPE_BUFFER_LENGTH HLLAPI_MAXLENGTH+30
@@ -47,3 +48,6 @@ @@ -47,3 +48,6 @@
47 G_GNUC_INTERNAL void popup_lasterror(const gchar *fmt, ...); 48 G_GNUC_INTERNAL void popup_lasterror(const gchar *fmt, ...);
48 G_GNUC_INTERNAL void set_active(gboolean on); 49 G_GNUC_INTERNAL void set_active(gboolean on);
49 50
  51 +#endif // WIN32
  52 +
  53 +