-
- Downloads
Make gpr_timespec no longer be a typedef for struct timespec in posix
The problem is that for the typedef to work we need _POSIX_C_SOURCE to be defined properly before any file that uses gpr_timespec includes anything. This is extremely fragile unless we change CFLAGS, which probably isn't worth doing for this.
Showing
- include/grpc/support/time.h 2 additions, 2 deletionsinclude/grpc/support/time.h
- include/grpc/support/time_posix.h 4 additions, 1 deletioninclude/grpc/support/time_posix.h
- src/core/support/sync_posix.c 10 additions, 1 deletionsrc/core/support/sync_posix.c
- src/core/support/time_posix.c 21 additions, 4 deletionssrc/core/support/time_posix.c
Please register or sign in to comment