U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » Mac OS » Cannot compile plugin/ftp
Cannot compile plugin/ftp [message #51363] Fri, 15 March 2019 20:51 Go to previous message
forlano is currently offline  forlano
Messages: 1221
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

my program uses the plugin/ftp and cannot compile it.

The compiler does not recognise GLOBALREF that appear in /plugin/ftp/lib/ftplib.h


#if !defined(__FTPLIB_H)
#define __FTPLIB_H

#if defined(__unix__) || defined(VMS)
#define GLOBALDEF
#define GLOBALREF extern
#elif defined(_WIN32)
#define GLOBALDEF
#define GLOBALREF extern
/*
#if defined BUILDING_LIBRARY
#define GLOBALDEF __declspec(dllexport)
#define GLOBALREF __declspec(dllexport)
#else
#define GLOBALREF __declspec(dllimport)
#endif
*/
#endif



Does anybody knows how to fix this include file?
Thanks,
Luigi
 
Read Message
Read Message
Read Message
Previous Topic: Conditional compiling
Next Topic: Can I compile without X11? (Mojave)
Goto Forum:
  


Current Time: Mon Apr 27 18:38:49 GMT+2 2026

Total time taken to generate the page: 0.00983 seconds