bzr branch
http://bzr.ed.am/elec/propeller-clock
57
by edam
added ulibc |
1 |
/* Copyright (C) 2006 Garrett A. Kajmowicz |
2 |
||
3 |
This file is part of the uClibc++ Library. |
|
4 |
This library is free software; you can redistribute it and/or |
|
5 |
modify it under the terms of the GNU Lesser General Public |
|
6 |
License as published by the Free Software Foundation version 2.1 |
|
7 |
||
8 |
This library is distributed in the hope that it will be useful, |
|
9 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
11 |
Lesser General Public License for more details. |
|
12 |
||
13 |
You should have received a copy of the GNU Lesser General Public |
|
14 |
License along with this library; if not, write to the Free Software |
|
15 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
16 |
*/ |
|
17 |
||
18 |
#include <stdio.h> |
|
19 |
#include <basic_definitions> |
|
20 |
||
21 |
#ifndef __HEADER_CSTDIO |
|
22 |
#define __HEADER_CSTDIO 1 |
|
23 |
||
24 |
||
25 |
namespace std{ |
|
26 |
#if ! defined(__AVR__) |
|
27 |
using ::FILE; |
|
28 |
using ::fpos_t; |
|
29 |
using ::fgetpos; |
|
30 |
using ::fopen; |
|
31 |
using ::freopen; |
|
32 |
using ::fseek; |
|
33 |
using ::fsetpos; |
|
34 |
using ::ftell; |
|
35 |
using ::perror; |
|
36 |
using ::rename; |
|
37 |
using ::rewind; |
|
38 |
using ::setbuf; |
|
39 |
using ::setvbuf; |
|
40 |
using ::tmpfile; |
|
41 |
using ::tmpnam; |
|
42 |
using ::remove; |
|
43 |
#endif // ! defined(__AVR__) |
|
44 |
||
45 |
using ::clearerr; |
|
46 |
using ::fclose; |
|
47 |
using ::feof; |
|
48 |
using ::ferror; |
|
49 |
using ::fflush; |
|
50 |
using ::fgetc; |
|
51 |
using ::fgets; |
|
52 |
using ::fprintf; |
|
53 |
using ::fputc; |
|
54 |
using ::fputs; |
|
55 |
using ::fread; |
|
56 |
using ::fscanf; |
|
57 |
using ::fwrite; |
|
58 |
using ::getc; |
|
59 |
using ::getchar; |
|
60 |
using ::gets; |
|
61 |
using ::printf; |
|
62 |
using ::putc; |
|
63 |
using ::putchar; |
|
64 |
using ::puts; |
|
65 |
using ::scanf; |
|
66 |
using ::sprintf; |
|
67 |
using ::sscanf; |
|
68 |
using ::ungetc; |
|
69 |
using ::vfprintf; |
|
70 |
using ::vprintf; |
|
71 |
using ::vsprintf; |
|
72 |
} |
|
73 |
||
74 |
||
75 |
||
76 |
#endif |
|
77 |