include/grpc/support/sync_win32.h in awesome-grpc-that-works-0.12.2 vs include/grpc/support/sync_win32.h in awesome-grpc-that-works-0.14.0.dev

- old
+ new

@@ -1,8 +1,8 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: @@ -32,18 +32,8 @@ */ #ifndef GRPC_SUPPORT_SYNC_WIN32_H #define GRPC_SUPPORT_SYNC_WIN32_H -#include <grpc/support/sync_generic.h> - -typedef struct { - CRITICAL_SECTION cs; /* Not an SRWLock until Vista is unsupported */ - int locked; -} gpr_mu; - -typedef CONDITION_VARIABLE gpr_cv; - -typedef INIT_ONCE gpr_once; -#define GPR_ONCE_INIT INIT_ONCE_STATIC_INIT +#include <grpc/impl/codegen/sync_win32.h> #endif /* GRPC_SUPPORT_SYNC_WIN32_H */