Skip to content

Commit

Permalink
Use __cpp_lib_modules (not __cpp_modules), closes #800
Browse files Browse the repository at this point in the history
  • Loading branch information
hsutter committed Nov 15, 2023
1 parent 243d03d commit 11f2dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cpp2util.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#if defined(CPP2_IMPORT_STD) || defined(CPP2_INCLUDE_STD)

// If C++23 'import std;' was requested and is available, use that
#if defined(CPP2_IMPORT_STD) && defined(__cpp_modules)
#if defined(CPP2_IMPORT_STD) && defined(__cpp_lib_modules)

#ifndef _MSC_VER
// This is the ideal -- note that we just voted "import std;"
Expand Down

0 comments on commit 11f2dbb

Please sign in to comment.