diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2009-08-21 00:54:33 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2009-08-21 00:54:33 +0000 |
commit | 8cbd3957fb9309b77590faad70c31ada2caee71f (patch) | |
tree | 6e6dc53459a6b9a79b032994edb9301bd33d61c2 /devel/psptoolchain-newlib/files/patch-newlib-libc-include-time.h | |
parent | Update to the 20090818 snapshot of GCC 4.4.2. (diff) |
The PlayStation Portable Toolchain is a collection of tools and utilities
for homebrew PSP development.
WWW: http://www.ps2dev.org
PR: ports/132323, ports/132324, ports/132325, ports/132326
ports/132327, ports/132328, ports/132329, ports/132330
Submitted by: Tassilo Philipp <tphilipp@potion-studios.com>
Notes
Notes:
svn path=/head/; revision=240002
Diffstat (limited to 'devel/psptoolchain-newlib/files/patch-newlib-libc-include-time.h')
-rw-r--r-- | devel/psptoolchain-newlib/files/patch-newlib-libc-include-time.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/psptoolchain-newlib/files/patch-newlib-libc-include-time.h b/devel/psptoolchain-newlib/files/patch-newlib-libc-include-time.h new file mode 100644 index 000000000000..646988d7472c --- /dev/null +++ b/devel/psptoolchain-newlib/files/patch-newlib-libc-include-time.h @@ -0,0 +1,19 @@ +--- newlib/libc/include/time.h.orig 2005-11-18 17:57:24.000000000 +0200 ++++ newlib/libc/include/time.h 2007-06-01 12:22:26.000000000 +0300 +@@ -174,6 +174,16 @@ + } + #endif + #endif /* _POSIX_TIMERS */ ++#if defined(__psp__) ++#ifdef __cplusplus ++extern "C" { ++#endif ++int _EXFUN(nanosleep, (const struct timespec *rqtp, struct timespec *rmtp)); ++#ifdef __cplusplus ++} ++#endif ++#endif /* __psp__ */ ++ + + #ifdef __cplusplus + extern "C" { |