mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 11:15:59 +01:00
6191d9a8da
under Haiku overrides ours anyway. * Adjusted size_t.h, wchar_t.h, wchar.h accordingly. This should fix the annoying "ssize_t redefined" warnings when compiling under Haiku. * When building Haiku the gcc headers come first in the include search path now, as it should be. The respective TODO suggested that this might break the build depending on compiler version and host platform. I've tested with Linux gcc 2 and gcc 4, which work fine. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24406 a95241bf-73f2-0310-859d-f6bbb57e9c96
14 lines
306 B
C
14 lines
306 B
C
/*
|
|
* Copyright 2008, Haiku Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _SIZE_T_H_
|
|
#define _SIZE_T_H_
|
|
|
|
#include <stddef.h>
|
|
|
|
// TODO: ATM gcc's stddef.h defines ssize_t for BeOS.h. We should fix this.
|
|
//typedef long signed int ssize_t;
|
|
|
|
#endif /* _SIZE_T_H_ */
|