Skip to content

Commit

Permalink
successfully compiles on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-dixon committed Jan 25, 2024
1 parent 4089dc7 commit 2f7d61f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
8 changes: 5 additions & 3 deletions source/c_api/accAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ void udaSetPrivateFlag(unsigned int flag)
* @return Void.
*/

void reudaSetPrivateFlag(unsigned int flag)
void udaResetPrivateFlag(unsigned int flag)
{
unsigned int* private_flags = udaPrivateFlags();
*private_flags &= !flag;
Expand All @@ -380,8 +380,9 @@ void reudaSetPrivateFlag(unsigned int flag)
* @return Void.
*/

void udaSetClientFlag(CLIENT_FLAGS* client_flags, unsigned int flag)
void udaSetClientFlag(unsigned int flag)
{
auto client_flags = udaClientFlags();
client_flags->flags = client_flags->flags | flag;
}

Expand All @@ -392,8 +393,9 @@ void udaSetClientFlag(CLIENT_FLAGS* client_flags, unsigned int flag)
* @return Void.
*/

void reudaSetClientFlag(CLIENT_FLAGS* client_flags, unsigned int flag)
void udaResetClientFlag(unsigned int flag)
{
auto client_flags = udaClientFlags();
client_flags->flags &= !flag;
}

Expand Down
11 changes: 6 additions & 5 deletions source/plugins/uda/uda_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

#include <cstdlib>

#include "accAPI.h"
// #include "accAPI.h"
#include "initStructs.h"
#include "udaGetAPI.h"
#include "udaPlugin.h"
#include <client/udaClient.h>
// #include "udaGetAPI.h"
// #include "udaPlugin.h"
// #include <client/udaClient.h>
#include <clientserver/stringUtils.h>
#include <include/logging.h>
// #include <include/logging.h>
#include <plugins/uda_plugin_base.hpp>
#include <uda.h>

#include <boost/filesystem.hpp>
#include <fmt/format.h>
Expand Down

0 comments on commit 2f7d61f

Please sign in to comment.