summaryrefslogtreecommitdiff
path: root/source/kit/file.h
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-02-16 02:37:41 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-02-16 02:37:41 +0100
commit23e63540f2d3ff6da230d1a29aecf33b49d2874d (patch)
tree46ce92001537d37dd9ef7a164880db1a97aa12b5 /source/kit/file.h
parent34df687daf49b29e0f2b4d7e0be3bd69df1c40c9 (diff)
downloadsaw-23e63540f2d3ff6da230d1a29aecf33b49d2874d.zip
Update kit
Diffstat (limited to 'source/kit/file.h')
-rw-r--r--source/kit/file.h70
1 files changed, 32 insertions, 38 deletions
diff --git a/source/kit/file.h b/source/kit/file.h
index a02d135..12f00a2 100644
--- a/source/kit/file.h
+++ b/source/kit/file.h
@@ -98,43 +98,37 @@ s32 kit_file_unmap(kit_mapped_file_t *mf);
}
#endif
-#ifndef KIT_DISABLE_SHORT_NAMES
-# define path_type_t kit_path_type_t
-# define file_info_t kit_file_info_t
-# define path_list_t kit_path_list_t
-# define mapped_file_t kit_mapped_file_t
-
-# define get_env kit_get_env
-# define path_norm kit_path_norm
-# define path_join kit_path_join
-# define path_user kit_path_user
-# define path_cache kit_path_cache
-# define path_data kit_path_data
-# define path_index kit_path_index
-# define path_take kit_path_take
-# define folder_create kit_folder_create
-# define folder_create_recursive kit_folder_create_recursive
-# define file_remove kit_file_remove
-# define folder_remove kit_folder_remove
-# define file_remove_recursive kit_file_remove_recursive
-# define path_type kit_path_type
-# define file_info kit_file_info
-# define folder_enum kit_folder_enum
-# define path_list_destroy kit_path_list_destroy
-# define file_map kit_file_map
-# define file_sync kit_file_sync
-# define file_unmap kit_file_unmap
-
-# define FILE_MAP_PRIVATE KIT_FILE_MAP_PRIVATE
-# define FILE_MAP_SHARED KIT_FILE_MAP_SHARED
-
-# define PATH_DELIM_C KIT_PATH_DELIM_C
-# define PATH_DELIM KIT_PATH_DELIM
-# define ENV_HOME KIT_ENV_HOME
-
-# define PATH_NONE KIT_PATH_NONE
-# define PATH_FILE KIT_PATH_FILE
-# define PATH_FOLDER KIT_PATH_FOLDER
-#endif
+#define path_type_t kit_path_type_t
+#define file_info_t kit_file_info_t
+#define path_list_t kit_path_list_t
+#define mapped_file_t kit_mapped_file_t
+#define get_env kit_get_env
+#define path_norm kit_path_norm
+#define path_join kit_path_join
+#define path_user kit_path_user
+#define path_cache kit_path_cache
+#define path_data kit_path_data
+#define path_index kit_path_index
+#define path_take kit_path_take
+#define folder_create kit_folder_create
+#define folder_create_recursive kit_folder_create_recursive
+#define file_remove kit_file_remove
+#define folder_remove kit_folder_remove
+#define file_remove_recursive kit_file_remove_recursive
+#define path_type kit_path_type
+#define file_info kit_file_info
+#define folder_enum kit_folder_enum
+#define path_list_destroy kit_path_list_destroy
+#define file_map kit_file_map
+#define file_sync kit_file_sync
+#define file_unmap kit_file_unmap
+#define FILE_MAP_PRIVATE KIT_FILE_MAP_PRIVATE
+#define FILE_MAP_SHARED KIT_FILE_MAP_SHARED
+#define PATH_DELIM_C KIT_PATH_DELIM_C
+#define PATH_DELIM KIT_PATH_DELIM
+#define ENV_HOME KIT_ENV_HOME
+#define PATH_NONE KIT_PATH_NONE
+#define PATH_FILE KIT_PATH_FILE
+#define PATH_FOLDER KIT_PATH_FOLDER
#endif