Przeglądaj źródła

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 lat temu
rodzic
commit
8d93bc1826
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      src/google/protobuf/port_def.inc

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

@@ -356,8 +356,8 @@
 #endif
 
 #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_TEMPLATE_DECLARE
 #define PROTOBUF_EXPORT_TEMPLATE_DEFINE __declspec(dllexport)
@@ -388,8 +388,8 @@
 #endif
 #endif
 #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_DEFINE
 #endif