Skip to content

Commit d267253

Browse files
committed
embed: Don't override C++ file system functions for now.
We can come back to it when we actually have a need for it.
1 parent 7922e80 commit d267253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/np_embed.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ NP_DECL(void) np_flockfile(void *e);
129129
NP_DECL(void) np_funlockfile(void *e);
130130
NP_DECL(int) np_ftrylockfile(void *e);
131131

132-
#ifndef NUITKAPYTHON_EMBED_BUILD
132+
#if !defined(NUITKAPYTHON_EMBED_BUILD) && !defined(__cplusplus)
133133
// Preprocessor Translation
134134
#define FILE EFILE
135135
/* File Opening and Closing */

0 commit comments

Comments
 (0)