Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Debian Package on CPACK #4

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7d6045f
Added Debian Package on CPACK
racerxdl Jan 16, 2017
43a8733
I hate VS not saving everything when closing
racerxdl Jan 27, 2017
c815ad9
Merge branch 'master' of github.com:racerxdl/libcorrect
racerxdl Jan 27, 2017
08c90e4
Now compiles and links in MSVC:wq
racerxdl Feb 6, 2017
5e56ac7
Fixed Release build
racerxdl Feb 6, 2017
e2176d5
Updated VS Solution. Now fully working and tested.
racerxdl Feb 11, 2017
bc1a5ec
Removed MFC Requirement
racerxdl Jan 21, 2018
d999eeb
Forgot to remove MFC from x64 builds
racerxdl Jan 22, 2018
7ca0526
Merge remote-tracking branch 'upstream/master'
racerxdl Jun 6, 2018
018054d
Small fixes from bad merging
racerxdl Jun 6, 2018
15a9b48
Added PPA Base
racerxdl Jun 6, 2018
d7c9b41
Made changes to PPA work
racerxdl Jun 6, 2018
5b67689
Changes for PPA
racerxdl Jun 6, 2018
5c39677
Correct a spelling mistake.
EdwardBetts Sep 26, 2018
01d358b
Merge pull request #21 from EdwardBetts/patch-1
brian-armstrong Sep 26, 2018
823f9e1
CMakeLists.txt: fixes for various toolchains
JoelsonCarl Oct 9, 2018
ce6c17f
Merge pull request #22 from JoelsonCarl/various-toolchain-fixes
brian-armstrong Oct 9, 2018
6d68fde
Fixes for SSE detection and propagation
pietern Oct 10, 2018
0ba9330
Merge pull request #24 from pietern/sse41-check
brian-armstrong Oct 10, 2018
76f8121
CMakeLists.txt: conditionally use -Wpedantic
tpetazzoni Oct 10, 2018
f5a28c7
Merge pull request #25 from tpetazzoni/conditional-wpedantic
brian-armstrong Oct 10, 2018
0c21f31
Updated few settings for VS2017
racerxdl Nov 18, 2018
7d3f671
Removed Cross Compile block for SSE build
racerxdl Feb 18, 2019
fc398ce
Merge branch 'master' of github.com:racerxdl/libcorrect
racerxdl Feb 18, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Small fixes from bad merging
  • Loading branch information
racerxdl committed Jun 6, 2018
commit 018054dd8c8833e6d089087b737b83d89bca7ad1
16 changes: 6 additions & 10 deletions include/correct.h
Original file line number Diff line number Diff line change
@@ -3,20 +3,16 @@
#include <stdint.h>

#ifndef _MSC_VER
#include <unistd.h>
#ifdef __MINGW32__
#define ssize_t int
#endif
#define DLL_EXPORT
# include <unistd.h>
# ifdef __MINGW32__
# define ssize_t int
# endif
# define DLL_EXPORT
#else
# define DLL_EXPORT extern __declspec(dllexport)
# define ssize_t int
# include <intrin.h>
# define __builtin_popcount __popcnt
#endif

#else
#include <stddef.h>
# include <stddef.h>
typedef ptrdiff_t ssize_t;
#endif

2 changes: 1 addition & 1 deletion src/convolutional/history_buffer.c
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ uint8_t *history_buffer_get_slice(history_buffer *buf) { return buf->history[buf

shift_register_t history_buffer_search(history_buffer *buf, const distance_t *distances,
unsigned int search_every) {
shift_register_t bestpath;
shift_register_t bestpath = -1;
distance_t leasterror = USHRT_MAX;
// search for a state with the least error
for (shift_register_t state = 0; state < buf->num_states; state += search_every) {