Commit 2ae0db6464a885e37cf8381066132b9fc6b8b000
1 parent
8cb1c924
Exists in
master
Atualizando em função de mudanças no projeto original.
Showing
3 changed files
with
7 additions
and
3 deletions
Show diff stats
src/extension/Makefile.in
@@ -82,7 +82,7 @@ $(OBJDBG)/%.o: \ | @@ -82,7 +82,7 @@ $(OBJDBG)/%.o: \ | ||
82 | @echo $< ... | 82 | @echo $< ... |
83 | @$(MKDIR) `dirname $@` | 83 | @$(MKDIR) `dirname $@` |
84 | @$(CXX) $(CFLAGS) -fstack-check -DDEBUG=1 \ | 84 | @$(CXX) $(CFLAGS) -fstack-check -DDEBUG=1 \ |
85 | - -DBUILD_DATE=`date +"0x%Y%m%d"`\ | 85 | + -DBUILD_DATE=`date +"%Y%m%d"`\ |
86 | -g -o $@ -c $< | 86 | -g -o $@ -c $< |
87 | 87 | ||
88 | $(OBJRLS)/%.o: \ | 88 | $(OBJRLS)/%.o: \ |
@@ -92,7 +92,7 @@ $(OBJRLS)/%.o: \ | @@ -92,7 +92,7 @@ $(OBJRLS)/%.o: \ | ||
92 | @echo $< ... | 92 | @echo $< ... |
93 | @$(MKDIR) `dirname $@` | 93 | @$(MKDIR) `dirname $@` |
94 | @$(CXX) $(CFLAGS) -DNDEBUG=1 \ | 94 | @$(CXX) $(CFLAGS) -DNDEBUG=1 \ |
95 | - -DBUILD_DATE=`date +"0x%Y%m%d"` \ | 95 | + -DBUILD_DATE=`date +"%Y%m%d"` \ |
96 | -o $@ -c $< | 96 | -o $@ -c $< |
97 | 97 | ||
98 | #---[ Release Targets ]------------------------------------------------------------------ | 98 | #---[ Release Targets ]------------------------------------------------------------------ |
src/extension/rexx_methods.cc
@@ -90,7 +90,11 @@ RexxMethod1(RexxStringObject, rx3270_method_revision, CSELF, sessionPtr) | @@ -90,7 +90,11 @@ RexxMethod1(RexxStringObject, rx3270_method_revision, CSELF, sessionPtr) | ||
90 | if(hSession) | 90 | if(hSession) |
91 | return context->String((CSTRING) hSession->get_revision().c_str()); | 91 | return context->String((CSTRING) hSession->get_revision().c_str()); |
92 | 92 | ||
93 | +#ifdef PACKAGE_REVISION | ||
93 | return context->String((CSTRING) PACKAGE_REVISION); | 94 | return context->String((CSTRING) PACKAGE_REVISION); |
95 | +#else | ||
96 | + return context->String((CSTRING) STRINGIZE_VALUE_OF(BUILD_DATE)); | ||
97 | +#endif | ||
94 | } | 98 | } |
95 | 99 | ||
96 | RexxMethod3(int, rx3270_method_connect, CSELF, sessionPtr, CSTRING, uri, OPTIONAL_int, wait) | 100 | RexxMethod3(int, rx3270_method_connect, CSELF, sessionPtr, CSTRING, uri, OPTIONAL_int, wait) |
src/extension/typed_routines.cc
@@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
31 | #include <time.h> | 31 | #include <time.h> |
32 | #include <string.h> | 32 | #include <string.h> |
33 | #include <exception> | 33 | #include <exception> |
34 | - #include <pw3270/class.h> | 34 | + #include <pw3270cpp.h> |
35 | 35 | ||
36 | using namespace std; | 36 | using namespace std; |
37 | using namespace PW3270_NAMESPACE; | 37 | using namespace PW3270_NAMESPACE; |