diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-25 20:57:27 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-25 20:57:27 +0900 |
commit | 230ed5e400ea4276d927570a7781cfcb5c7a534a (patch) | |
tree | 56bb72cae9206a3a6734a380f48b85051d054614 /src/tools/qcstring.h | |
parent | 2df70f03d493f5226821dd2e1da3759e3abceb02 (diff) | |
download | qt3-230ed5e400ea4276d927570a7781cfcb5c7a534a.tar.gz qt3-230ed5e400ea4276d927570a7781cfcb5c7a534a.zip |
Always build with a clean namespace
QT_CLEAN_NAMESPACE constant is no more needed
This may theoretically affect applications created for Qt1 and Qt2,
but such applications require further modifications as well.
---------------------------
Cherry picked and adapted from commit ff63338d in tqt3 from Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/qcstring.h')
-rw-r--r-- | src/tools/qcstring.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/tools/qcstring.h b/src/tools/qcstring.h index 372ae80..a48cce8 100644 --- a/src/tools/qcstring.h +++ b/src/tools/qcstring.h @@ -81,20 +81,6 @@ Q_EXPORT int qstricmp( const char *, const char * ); Q_EXPORT int qstrnicmp( const char *, const char *, uint len ); -#ifndef QT_CLEAN_NAMESPACE -Q_EXPORT inline uint cstrlen( const char *str ) -{ return (uint)strlen(str); } - -Q_EXPORT inline char *cstrcpy( char *dst, const char *src ) -{ return strcpy(dst,src); } - -Q_EXPORT inline int cstrcmp( const char *str1, const char *str2 ) -{ return strcmp(str1,str2); } - -Q_EXPORT inline int cstrncmp( const char *str1, const char *str2, uint len ) -{ return strncmp(str1,str2,len); } -#endif - // qChecksum: Internet checksum |