Skip to content

Commit

Permalink
Replace deprecated C Headers with the C++ variants (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi1024e authored Apr 2, 2020
1 parent 212ecbf commit c50b3d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/wil/wistd_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#define _WISTD_CONFIG_H_

// DO NOT add *any* additional includes to this file -- there should be no dependencies from its usage
#include <stddef.h> // For size_t and other necessary types
#include <cstddef> // For size_t and other necessary types

/// @cond
#if defined(_MSC_VER) && !defined(__clang__)
Expand Down
2 changes: 1 addition & 1 deletion tests/WinRTTests.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#include <time.h> // TODO: https://github.com/microsoft/wil/issues/44
#include <ctime> // TODO: https://github.com/microsoft/wil/issues/44
#include <wil/winrt.h>

#ifdef WIL_ENABLE_EXCEPTIONS
Expand Down

0 comments on commit c50b3d3

Please sign in to comment.