mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mrbgems: standardize HAL header include patterns
changed from angle brackets to quotes for gem-local HAL headers (task.h, io_hal.h, socket_hal.h), and removed relative path prefix from task.h include. this follows the mrbgem build system convention where gem/include/ is automatically added to the include path. Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <mruby.h>
|
||||
#include <io_hal.h>
|
||||
#include "io_hal.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <mruby/class.h>
|
||||
#include <mruby/error.h>
|
||||
#include <mruby/presym.h>
|
||||
#include <socket_hal.h>
|
||||
#include "socket_hal.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <mruby.h>
|
||||
#include <io_hal.h>
|
||||
#include "io_hal.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <io.h>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <mruby/class.h>
|
||||
#include <mruby/error.h>
|
||||
#include <mruby/presym.h>
|
||||
#include <socket_hal.h>
|
||||
#include "socket_hal.h"
|
||||
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#include <winsock2.h>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <mruby/ext/io.h>
|
||||
#include <mruby/error.h>
|
||||
#include <mruby/presym.h>
|
||||
#include <io_hal.h>
|
||||
#include "io_hal.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <mruby/ext/io.h>
|
||||
#include <mruby/error.h>
|
||||
#include <mruby/presym.h>
|
||||
#include <io_hal.h>
|
||||
#include "io_hal.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <mruby/error.h>
|
||||
#include <mruby/internal.h>
|
||||
#include <mruby/presym.h>
|
||||
#include <io_hal.h>
|
||||
#include "io_hal.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <mruby/presym.h>
|
||||
|
||||
#include <mruby/ext/io.h>
|
||||
#include <socket_hal.h>
|
||||
#include "socket_hal.h"
|
||||
|
||||
/* Address family information for compact lookup table */
|
||||
typedef struct {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include "../include/task.h"
|
||||
#include "task.h"
|
||||
#include "task_hal.h"
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user