Commit 0d2e0d7890138461d9127eba20cff66f72f21fbf

Authored by perry.werneck@gmail.com
1 parent 53399ab5

Corrigindo compilação da extensão rexx na versão antiga

@@ -358,8 +358,6 @@ if test "$app_cv_rexx" == "yes"; then @@ -358,8 +358,6 @@ if test "$app_cv_rexx" == "yes"; then
358 if test -z "${REXXCONFIG}"; then 358 if test -z "${REXXCONFIG}"; then
359 AC_MSG_NOTICE([Program oorexx-config not found. Use --with-rexx-config=path to specify absolute path to the oorexx-config tool.]) 359 AC_MSG_NOTICE([Program oorexx-config not found. Use --with-rexx-config=path to specify absolute path to the oorexx-config tool.])
360 app_cv_rexx="no" 360 app_cv_rexx="no"
361 - else  
362 - AC_CHECK_HEADER(oorexxapi.h, AC_DEFINE(HAVE_OOREXXAPI_H))  
363 fi 361 fi
364 fi 362 fi
365 363
src/plugins/rx3270/rx3270.h
@@ -47,12 +47,6 @@ @@ -47,12 +47,6 @@
47 #include <iconv.h> 47 #include <iconv.h>
48 #endif // HAVE_ICONV 48 #endif // HAVE_ICONV
49 49
50 -  
51 -/*---[ Exports ]---------------------------------------------------------------------------------------------*/  
52 -  
53 - LIB3270_EXPORT RexxRoutineEntry rx3270_functions[];  
54 - LIB3270_EXPORT RexxPackageEntry rx3270_package_entry;  
55 -  
56 /*---[ Rexx entry points ]-----------------------------------------------------------------------------------*/ 50 /*---[ Rexx entry points ]-----------------------------------------------------------------------------------*/
57 51
58 REXX_TYPED_ROUTINE_PROTOTYPE(rx3270version); 52 REXX_TYPED_ROUTINE_PROTOTYPE(rx3270version);
src/plugins/rx3270/rxapimain.cc
@@ -116,7 +116,7 @@ int librx3270_unloaded(void) @@ -116,7 +116,7 @@ int librx3270_unloaded(void)
116 } 116 }
117 117
118 // now build the actual entry list 118 // now build the actual entry list
119 -RexxRoutineEntry rx3270_functions[] = 119 +LIB3270_EXPORT RexxRoutineEntry rx3270_functions[] =
120 { 120 {
121 REXX_TYPED_ROUTINE(rx3270version, rx3270version), 121 REXX_TYPED_ROUTINE(rx3270version, rx3270version),
122 REXX_TYPED_ROUTINE(rx3270QueryCState, rx3270QueryCState), 122 REXX_TYPED_ROUTINE(rx3270QueryCState, rx3270QueryCState),
@@ -139,7 +139,7 @@ RexxRoutineEntry rx3270_functions[] = @@ -139,7 +139,7 @@ RexxRoutineEntry rx3270_functions[] =
139 REXX_LAST_METHOD() 139 REXX_LAST_METHOD()
140 }; 140 };
141 141
142 -RexxPackageEntry rx3270_package_entry = 142 +LIB3270_EXPORT RexxPackageEntry rx3270_package_entry =
143 { 143 {
144 STANDARD_PACKAGE_HEADER 144 STANDARD_PACKAGE_HEADER
145 REXX_CURRENT_INTERPRETER_VERSION, // anything after 4.0.0 will work 145 REXX_CURRENT_INTERPRETER_VERSION, // anything after 4.0.0 will work