Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 263277 Details for
Bug 354745
dev-libs/icu-4.6: unicode/pwin32.h conflicts with sys/types.h
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
script for generating wrappers around unicode headers
wrap-unicode.sh (text/plain), 948 bytes, created by
Ambroz Bizjak
on 2011-02-21 13:34:42 UTC
(
hide
)
Description:
script for generating wrappers around unicode headers
Filename:
MIME Type:
Creator:
Ambroz Bizjak
Created:
2011-02-21 13:34:42 UTC
Size:
948 bytes
patch
obsolete
>ROOT=$1 >DESTDIR=$2 > >set -e > >SAVE=$(cat <<EOD >#ifdef WIN32 ># define WIN32_DEFINE_SAVED WIN32 ># undef WIN32 >#endif >#ifdef _WIN32 ># define _WIN32_DEFINE_SAVED _WIN32 ># undef _WIN32 >#endif >#ifdef WIN64 ># define WIN64_DEFINE_SAVED WIN64 ># undef WIN64 >#endif >#ifdef _WIN64 ># define _WIN64_DEFINE_SAVED _WIN64 ># undef _WIN64 >#endif >EOD >) > >RESTORE=$(cat <<EOD >#ifdef WIN32_DEFINE_SAVED ># define WIN32 WIN32_DEFINE_SAVED ># undef WIN32_DEFINE_SAVED >#endif >#ifdef _WIN32_DEFINE_SAVED ># define _WIN32 _WIN32_DEFINE_SAVED ># undef _WIN32_DEFINE_SAVED >#endif >#ifdef WIN64_DEFINE_SAVED ># define WIN64 WIN64_DEFINE_SAVED ># undef WIN64_DEFINE_SAVED >#endif >#ifdef _WIN64_DEFINE_SAVED ># define _WIN64 _WIN64_DEFINE_SAVED ># undef _WIN64_DEFINE_SAVED >#endif >EOD >) > >mkdir -p "$DESTDIR"/unicode > >for name in $( cd "$ROOT"/usr/include/unicode; echo *.h ); do > cat <<EOD >"$DESTDIR"/unicode/"$name" >${SAVE} >#include "${ROOT}/usr/include/unicode/${name}" >${RESTORE} >EOD >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 354745
:
262355
|
262357
|
262489
|
263081
|
263115
|
263277
|
263279
|
263283