Skip to content

Commit

Permalink
Fix #757, Readd extern C inosapi.h to support C++ use
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Jan 13, 2021
1 parent 81c4fa8 commit 686f3f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/os/inc/osapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
#ifndef OSAPI_H
#define OSAPI_H

#ifdef __cplusplus
extern "C"
{
#endif

/*
* Note - the "osapi-os-filesys.h" file previously included these system headers
* plus a couple others. Some existing code used stdio/stdlib functions but did
Expand Down

0 comments on commit 686f3f0

Please sign in to comment.