aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/src/ruby
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-04-26 22:05:41 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-04-26 22:05:41 -0700
commit12dfdc3c27a14910f389fa1b1ac5ec0d54b9435c (patch)
tree574dc3849cb0ee93920fc6f77619e8c63d64fd3e /templates/src/ruby
parenteeef86cea2b0699bfd2ea76876bbd2fcc99edd26 (diff)
Change win32 file suffix
Diffstat (limited to 'templates/src/ruby')
-rw-r--r--templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template4
-rw-r--r--templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template b/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template
index e09a58781d..232f3e75eb 100644
--- a/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template
+++ b/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template
@@ -35,7 +35,7 @@
#include <grpc/support/port_platform.h>
- #ifdef GPR_WIN32
+ #ifdef GPR_WINDOWS
#include "rb_grpc_imports.generated.h"
@@ -49,4 +49,4 @@
%endfor
}
- #endif /* GPR_WIN32 */
+ #endif /* GPR_WINDOWS */
diff --git a/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template b/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template
index 9f17edeec0..68172fcb9c 100644
--- a/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template
+++ b/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template
@@ -38,7 +38,7 @@
#include <grpc/support/port_platform.h>
- #ifdef GPR_WIN32
+ #ifdef GPR_WINDOWS
#include <windows.h>
@@ -54,6 +54,6 @@
void grpc_rb_load_imports(HMODULE library);
- #endif /* GPR_WIN32 */
+ #endif /* GPR_WINDOWS */
#endif