1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-03 22:13:11 +03:00
Files
libssh2/example
Viktor Szakats d245c66cc0 example: make x11 exclusion build-tool-agnostic
Whether to build the `x11` example or not was decided by each build
tool. CMake didn't build it even on supported platforms. GNUMakefile
used a specific blocklist for it, while autotools enabled it based on
feature-detection.

Migrate the enabler logic to an #ifdef in source and build `x11`
unconditionally with all build tools.

On unsupported platforms (=Windows) this program now displays a short
message stating that fact.

Also:

- fix `x11.c` warnings uncovered after CMake started building it.

- use `libssh2_socket_t` type for portability in `x11.c` too.

- use detected header guards in `x11.c`.

- delete a duplicate reference to `-lws2_32` from `win32/GNUmakefile`
  while there.

Closes #909
2023-04-01 01:36:54 +00:00
..
2023-03-31 23:45:36 +00:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00
2023-03-27 19:26:58 +02:00