Skip to content

Commit

Permalink
Support C++ in cbm.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterymath committed Nov 15, 2023
1 parent d9b3373 commit 15b1a8e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mos-platform/commodore/cbm.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
#ifndef _CBM_H
#define _CBM_H

#ifdef __cplusplus
extern "C" {
#endif


/* Check for errors */
Expand Down Expand Up @@ -328,5 +331,9 @@ void __fastcall__ cbm_closedir (unsigned char lfn);

#endif

#ifdef __cplusplus
}
#endif

/* End of cbm.h */
#endif

0 comments on commit 15b1a8e

Please sign in to comment.