Skip to content

Commit

Permalink
add RAOS_FEATURE_WAKES def to SimRecord.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
roice committed Aug 10, 2016
1 parent bf4991c commit ad905ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ link_directories(${PROJECT_SOURCE_DIR}/3rdparty/blas/BLAS-3.6.0)
link_directories(${PROJECT_SOURCE_DIR}/3rdparty/blas/CBLAS/lib)
# libgfortran
if(APPLE)
link_directories(/usr/local/lib/gcc/5/)
link_directories(/usr/local/lib/gcc/6/)
endif()

#---- start compiling ----
Expand Down
4 changes: 4 additions & 0 deletions src/SimRecord.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

void SimSaveData(void)
{
#ifdef RAOS_FEATURE_WAKES

hid_t file_id, dataset_id, dataspace_id;
herr_t status;
hsize_t data_dims[2];
Expand Down Expand Up @@ -107,4 +109,6 @@ void SimSaveData(void)

/* Terminate access to the file. */
status = H5Fclose(file_id);

#endif
}

0 comments on commit ad905ab

Please sign in to comment.