Skip to content

Commit

Permalink
chore(api): move inclusion of standard headers out of extern "C"
Browse files Browse the repository at this point in the history
Fixes #930
  • Loading branch information
ksqsf authored and lotem committed Sep 1, 2024
1 parent 72564a7 commit d7add39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
#ifndef RIME_API_H_
#define RIME_API_H_

#include <stddef.h>
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

#include <stddef.h>
#include <stdint.h>

#if defined(_WIN32)
#if defined(RIME_EXPORTS)
/* DLL export */
Expand Down

0 comments on commit d7add39

Please sign in to comment.