diff --git a/Headers/Additions/GNUstepBase/GSObjCRuntime.h b/Headers/Additions/GNUstepBase/GSObjCRuntime.h index 47c334532..1a249e080 100644 --- a/Headers/Additions/GNUstepBase/GSObjCRuntime.h +++ b/Headers/Additions/GNUstepBase/GSObjCRuntime.h @@ -698,12 +698,12 @@ GSObjCAllSubclassesOfClass(Class cls); GS_EXPORT NSArray * GSObjCDirectSubclassesOfClass(Class cls); -#ifndef NO_DEPRECATED +#if GS_API_VERSION(GS_API_ANY,011500) GS_EXPORT const char * GSLastErrorStr(long error_id) GS_ATTRIB_DEPRECATED; -#endif /* NO_DEPRECATED */ +#endif diff --git a/Source/DocMakefile b/Source/DocMakefile index 39622d2c6..349582f37 100644 --- a/Source/DocMakefile +++ b/Source/DocMakefile @@ -131,6 +131,7 @@ GSLock.h \ GSMime.h \ GSObjCRuntime.h \ GSUnion.h \ +GSVersionMacros.h \ GSXML.h \ behavior.h \ Unicode.h \