Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1185
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: Sun Apr 28 13:15:17 CEST 2024

Total time taken to generate the page: 0.02640 seconds