Add GC prefix to _MSVC_DBG_H macro
authorIvan Maidanski <ivmai@mail.ru>
Wed, 7 Feb 2018 08:25:09 +0000 (11:25 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 7 Feb 2018 08:25:09 +0000 (11:25 +0300)
(code refactoring)

* include/private/msvc_dbg.h (_MSVC_DBG_H): Rename to GC_MSVC_DBG_H.
* include/private/msvc_dbg.h [__cplusplus]: Adjust indentation.

include/private/msvc_dbg.h

index 1d3030a..10dd103 100644 (file)
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   THE SOFTWARE.
 */
-#ifndef _MSVC_DBG_H
-#define _MSVC_DBG_H
+
+#ifndef GC_MSVC_DBG_H
+#define GC_MSVC_DBG_H
 
 #include <stdlib.h>
 
 #ifdef __cplusplus
-extern "C" {
+  extern "C" {
 #endif
 
 #if !MSVC_DBG_DLL
@@ -63,7 +64,7 @@ MSVC_DBG_EXPORT int    backtrace(void* addresses[], int count);
 MSVC_DBG_EXPORT char** backtrace_symbols(void*const addresses[], int count);
 
 #ifdef __cplusplus
-}
+  } /* extern "C" */
 #endif
 
-#endif/*_MSVC_DBG_H*/
+#endif /* GC_MSVC_DBG_H */