Skip to content

Commit

Permalink
fix android/mac compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBearodactyl committed Dec 20, 2024
1 parent 30aa057 commit e58451e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/utils/ordered_vec.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#include "ordered_vec.hpp"

#if defined(__APPLE__)
#include <TargetConditionals.h>
#endif

#if defined(__ANDROID__)
#include <android/log.h>
#endif

template <Comparable T>
ordered_vec<T>::ordered_vec(const std::vector<T> &data) {
data_ = data;
Expand Down

0 comments on commit e58451e

Please sign in to comment.