浏览代码

Normalized formatting of macros.

It's a bit unforuntate to lose the nesting, but
that's what clang-format is telling us here.
Joshua Haberman 5 年之前
父节点
当前提交
8d93bc1826
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/google/protobuf/port_def.inc

+ 4 - 4
src/google/protobuf/port_def.inc

@@ -356,8 +356,8 @@
 #endif
 #endif
 
 
 #if defined(PROTOBUF_USE_DLLS)
 #if defined(PROTOBUF_USE_DLLS)
-  #if defined(_MSC_VER)
-    #ifdef LIBPROTOBUF_EXPORTS
+#if defined(_MSC_VER)
+#ifdef LIBPROTOBUF_EXPORTS
 #define PROTOBUF_EXPORT __declspec(dllexport)
 #define PROTOBUF_EXPORT __declspec(dllexport)
 #define PROTOBUF_EXPORT_TEMPLATE_DECLARE
 #define PROTOBUF_EXPORT_TEMPLATE_DECLARE
 #define PROTOBUF_EXPORT_TEMPLATE_DEFINE __declspec(dllexport)
 #define PROTOBUF_EXPORT_TEMPLATE_DEFINE __declspec(dllexport)
@@ -388,8 +388,8 @@
 #endif
 #endif
 #endif
 #endif
 #else  // defined(PROTOBUF_USE_DLLS)
 #else  // defined(PROTOBUF_USE_DLLS)
-  #define PROTOBUF_EXPORT
-  #define PROTOC_EXPORT
+#define PROTOBUF_EXPORT
+#define PROTOC_EXPORT
 #define PROTOBUF_EXPORT_TEMPLATE_DECLARE
 #define PROTOBUF_EXPORT_TEMPLATE_DECLARE
 #define PROTOBUF_EXPORT_TEMPLATE_DEFINE
 #define PROTOBUF_EXPORT_TEMPLATE_DEFINE
 #endif
 #endif