diff options
author | Bruno Haible <bruno@clisp.org> | 2022-09-05 00:14:48 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-09-05 00:14:48 +0200 |
commit | 3e99f32e957ac7f1f5b3dd464486cb192fb6dad4 (patch) | |
tree | 08ba5510ba6dbbf461004356126f4fa286d0c2cf /lib/gl_oset.hh | |
parent | aa92cf3e6f9dd3587d2c0bd3fb3427f3d96f31f0 (diff) | |
download | gnulib-3e99f32e957ac7f1f5b3dd464486cb192fb6dad4.tar.gz |
oset-c++: Fix compilation error with MSVC 14.
* lib/gl_oset.hh: With MSVC, avoid 'friend'.
Diffstat (limited to 'lib/gl_oset.hh')
-rw-r--r-- | lib/gl_oset.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gl_oset.hh b/lib/gl_oset.hh index 4fae4eb4d6..d0844638b7 100644 --- a/lib/gl_oset.hh +++ b/lib/gl_oset.hh @@ -153,7 +153,7 @@ public: ~iterator () { gl_oset_iterator_free (&_state); } - #if defined __xlC__ || defined __HP_aCC || defined __SUNPRO_CC || defined __EDG__ + #if defined __xlC__ || defined __HP_aCC || defined __SUNPRO_CC || defined __EDG__ || (defined _MSC_VER && !defined __clang__) public: #else private: |