|
Last change
on this file since 88 was 2, checked in by Dmitry A. Kuminov, 16 years ago |
|
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
|
|
File size:
298 bytes
|
| Line | |
|---|
| 1 | #if defined(__sgi)
|
|---|
| 2 | #error "iconv not supported on IRIX"
|
|---|
| 3 | #else
|
|---|
| 4 | #include <iconv.h>
|
|---|
| 5 |
|
|---|
| 6 | int main(int, char **)
|
|---|
| 7 | {
|
|---|
| 8 | iconv_t x = iconv_open("", "");
|
|---|
| 9 |
|
|---|
| 10 | char *inp;
|
|---|
| 11 | char *outp;
|
|---|
| 12 | size_t inbytes, outbytes;
|
|---|
| 13 | iconv(x, &inp, &inbytes, &outp, &outbytes);
|
|---|
| 14 |
|
|---|
| 15 | iconv_close(x);
|
|---|
| 16 |
|
|---|
| 17 | return 0;
|
|---|
| 18 | }
|
|---|
| 19 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.