cleanup compatibility header installation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29793 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-02-28 09:10:16 +00:00
parent dbf747d3e5
commit 299c3aefeb
8 changed files with 8 additions and 19 deletions

View file

@ -2,7 +2,7 @@
* Blocks Runtime
*/
#include "Availability.h"
#include "ObjectiveC2/Availability.h"
#ifdef __cplusplus
#define BLOCKS_EXPORT extern "C"
#else

View file

@ -23,8 +23,8 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
#import "blocks_runtime.h"
#import "runtime.h"
#import "ObjectiveC2/blocks_runtime.h"
#import "ObjectiveC2/runtime.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -1,4 +1,4 @@
#include "runtime.h"
#include "ObjectiveC2/runtime.h"
/* Make glibc export strdup() */
@ -916,7 +916,7 @@ objc_allocateMetaClass(Class superclass, size_t extraBytes)
// Initialize the metaclass
metaClass->class_pointer = superclass->class_pointer->class_pointer;
metaClass->super_class = superclass->class_pointer;
metaClass->name = "hidden class";
metaClass->name = "hidden class"; //strdup(superclass->name);
metaClass->info = _CLS_RESOLV | _CLS_INITIALIZED | _CLS_META;
metaClass->dtable = __objc_uninstalled_dtable;
metaClass->instance_size = sizeof(struct objc_class);

View file

@ -1,7 +1,7 @@
#include <stdint.h>
#include <stddef.h>
#include <sys/types.h>
#include "Availability.h"
#include "ObjectiveC2/Availability.h"
#if defined(ERROR_UNSUPPORTED_RUNTIME_FUNCTIONS)
# define OBJC_GNU_RUNTIME_UNSUPPORTED(x) \

View file

@ -1,4 +1,4 @@
#include "runtime.h"
#include "ObjectiveC2/runtime.h"
/* Ensure Unix98 compatible pthreads for glibc */
#if defined __GLIBC__