Mercurial > projects > ldc
comparison dmd2/mangle.c @ 1577:e4f7b5d9c68a
DMD 2.032 Merge.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Tue, 08 Sep 2009 10:07:56 +0100 |
parents | 54b3c1394d62 |
children |
comparison
equal
deleted
inserted
replaced
1576:4551475bc6b6 | 1577:e4f7b5d9c68a |
---|---|
120 case LINKwindows: | 120 case LINKwindows: |
121 case LINKpascal: | 121 case LINKpascal: |
122 return ident->toChars(); | 122 return ident->toChars(); |
123 | 123 |
124 case LINKcpp: | 124 case LINKcpp: |
125 #if DMDV2 && (TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS) | 125 #if CPP_MANGLE |
126 return cpp_mangle(this); | 126 return cpp_mangle(this); |
127 #else | 127 #else |
128 // Windows C++ mangling is done by C++ back end | 128 // Windows C++ mangling is done by C++ back end |
129 return ident->toChars(); | 129 return ident->toChars(); |
130 #endif | 130 #endif |