Skip to content

Commit

Permalink
don't pollute system headers with 3ds headers
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute committed Nov 5, 2023
1 parent bf4a24a commit c579a65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libctru/include/poll.h
@@ -1,15 +1,13 @@
#pragma once

#include <3ds/types.h>

#define POLLIN 0x01
#define POLLPRI 0x02
#define POLLHUP 0x04 // unknown ???
#define POLLERR 0x08 // probably
#define POLLOUT 0x10
#define POLLNVAL 0x20

typedef u32 nfds_t;
typedef unsigned int nfds_t;

struct pollfd
{
Expand Down

0 comments on commit c579a65

Please sign in to comment.