Skip to content

Commit 3acbefd

Browse files
committed
Fixed linker errors for fedex_python on embarcadero bcc32.
* xgetopt.c was only included for MSVC on fedex_python, now BORLAND has been added. * Added two additional functions to be exported from libexppp since they are used by fedex_python.
1 parent 7ffbb73 commit 3acbefd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

include/exppp/exppp.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,7 @@ SCL_EXPPP_EXPORT int TYPEto_buffer( Type t, char * buffer, int length );
5656
SCL_EXPPP_EXPORT int TYPEhead_to_buffer( Type t, char * buffer, int length );
5757
SCL_EXPPP_EXPORT int TYPEbody_to_buffer( Type t, char * buffer, int length );
5858
SCL_EXPPP_EXPORT int WHEREto_buffer( Linked_List w, char * buffer, int length );
59+
60+
SCL_EXPPP_EXPORT int EXPRlength( Expression e );
61+
SCL_EXPPP_EXPORT int count_newlines( char *s );
62+

src/fedex_python/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ include_directories(
1010

1111
add_definitions( -DHAVE_CONFIG_H )
1212

13-
IF(MSVC)
13+
IF(MSVC OR BORLAND)
1414
set(fedex_plus_MSVC_SOURCES
1515
${SCL_SOURCE_DIR}/src/fedex_plus/xgetopt.cc
1616
)
17-
ENDIF(MSVC)
17+
ENDIF(MSVC OR BORLAND)
1818

1919
set(fedex_python_SOURCES
2020
src/classes_misc_python.c

0 commit comments

Comments
 (0)