fakes.c outside of kdecore?

Jarosław Staniek js at iidea.pl
Sun Oct 23 23:04:11 BST 2005

In case of win32 target, kdefakes (or some functions from it) could go to 
kdewin32 library (previously, in KDElibs3, these functions were in fact 
defined in kdewin32).

Reason 1:
Things like setenv()/unsetenv() are used not only in kdecore.

Radon 2:
for example, config-lowlevel.h contains this:

#ifdef __cplusplus
extern "C" {
int setenv (const char *, const char *, int);
//^^^^^^^^ <--error, no KDECORE_EXPORT here....
#ifdef __cplusplus

I am not sure where to move fakes.c in case of other targets (maybe moving is 
not needed for other targets?)


regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska
  Kexi Developer:
      http://www.kexi-project.org | http://koffice.org/kexi
  KDE3, KDE4 libraries for developing MS Windows applications:

More information about the kde-core-devel mailing list